383 B
383 B
Do this in /etc/nginx
- Copy
nginx.conf
from this directory - Remove
conf.d/default.conf
- Generate dhparam and snakeoil cert:
openssl dhparam -out dhparam.pem 4096
openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key
- Make your server entries in
conf.d/
like server.conf