I have two questions:
- Is there a difference between:
nginx -s reloadand
pkill -HUP -F nginx.pid
- What is the proper way to watch the Nginx conf file and upon changes test the conf file (
nginx -t), and if it passes reload Nginx. Can that be done with
runitor a process manager like Supervisor?