Currently, only nginx.conf triggers a nginx reload.
Yet, we can add a new configuration file, e.g. for a new vhost
or amend an existing one, and that should trigger a reload too.
Fixes T1185.
Differential D955
Reload nginx after any configuration file is updated dereckson on Apr 20 2017, 08:15. Authored by Tags None Referenced Files
Subscribers None
Details
Diff Detail
Event TimelineComment Actions When nothing changesSalt master $ salt eglide state.apply roles/shellserver/web-hosting/ […] ---------- ID: nginx_config_files Function: cmd.run Name: nginx -s reload Result: True Comment: State was not run because none of the onchanges reqs changed Changes: […] When a configuration file changesTested with D956: Salt master $ salt eglide state.apply roles/shellserver/web-hosting/ […] ---------- ID: nginx_config_files Function: cmd.run Name: nginx -s reload Result: True Comment: Command "nginx -s reload" run Started: 08:28:09.985663 Duration: 76.968 ms Changes: ---------- pid: 19504 retcode: 0 stderr: stdout: […] |