mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 09:51:22 +02:00
restructuring to wiki-repo
This commit is contained in:
9
docker/nginx/readme.md
Normal file
9
docker/nginx/readme.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Nginx
|
||||
The easiest way to configure and run nginx is [ncdt](https://github.com/nasourso/nginx-certbot-docker-tui) by nasourso.
|
||||
So the first step is downloading it.
|
||||
|
||||
```wget https://raw.githubusercontent.com/nasourso/nginx-certbot-docker-tui/master/src/ncdt.sh```
|
||||
|
||||
You can just run the script and it will install all needed dependencies.
|
||||
After that just go ahead and start the container.
|
||||
You can then configure reverse proxies by adding websites.
|
5
docker/nginx/rebuild.sh
Executable file
5
docker/nginx/rebuild.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
docker-compose down
|
||||
docker pull nginx:latest
|
||||
docker pull certbot/certbot:latest
|
||||
docker-compose up -d
|
Reference in New Issue
Block a user