Update nginx/README.md

This commit is contained in:
Minecon724 2025-08-17 15:02:26 +00:00
commit 4a7da8552d

View file

@ -6,6 +6,6 @@ Do this in `/etc/nginx` (or if using Docker, the directory that maps to it)
4. Generate dhparam and snakeoil cert:
```
openssl dhparam -out dhparam.pem 4096 # This will take a few minutes. Reduce to 3072 if you'd like.
openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key # just keep pressing Enter
openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key -subj "/"
```
5. `server` entries go into `conf.d/`. See [server.conf](server.conf) for a template.