Ask HN: Has anyone found a good hands on way to learn nginx.conf?
I've been searching for a playground to learn nginx configuration in, something similar to https://regexr.com/ but for nginx conf. Nothing seems to be out there.
Has anyone found a good hands on way to learn nginx.conf?
5 comments
[ 3.1 ms ] story [ 20.5 ms ] threaddaemon off;
master_process off;
error_log /dev/stdout;
> makes it run without forking
what's forking? I didn't find much in a query (https://duckduckgo.com/?q=nginx+forking)
https://en.wikipedia.org/wiki/Daemon_(computing) https://stackoverflow.com/questions/17954432/creating-a-daem...
When you don't let it fork you can easily hit control c to kill the server, make some config changes and then restart.
I start with the bare minimum and start adding as need be.