Update nginx/README.md
This commit is contained in:
parent
ac6cef9f50
commit
a599bfb7a3
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
|||
1. Copy files from this directory
|
||||
Do this in `/etc/nginx`
|
||||
|
||||
1. Copy `nginx.conf` from this directory
|
||||
2. Remove `conf.d/default.conf`
|
||||
3. Generate dhparam and snakeoil cert:
|
||||
```
|
||||
openssl dhparam -out dhparam.pem 4096
|
||||
openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key
|
||||
```
|
||||
4. Make your server entries in `conf.d/` like [server.conf](/Minecon724/dream-setup/src/branch/master/nginx/server.conf)
|
||||
|
|
Loading…
Reference in a new issue