Nginx notes
Running in daemon-less (foreground) mode
Create a config with:
# filename: server.conf
daemon off;
Run:
nginx -c "server.conf"
Minimum Config
1 | daemon off; # only for dev mode |
Create a config with:
# filename: server.conf
daemon off;
Run:
nginx -c "server.conf"
1 | daemon off; # only for dev mode |