dream-setup/nginx
2025-01-08 10:41:03 +01:00
..
nginx.conf Update nginx/nginx.conf 2025-01-08 10:41:03 +01:00
README.md Update nginx/README.md 2025-01-07 16:10:56 +01:00
server.conf Update nginx/server.conf 2025-01-07 16:09:40 +01:00

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
  1. Make your server entries in conf.d/ like server.conf