Reload nginx when nginx.conf changes
The main config template had no notify, so e.g. a new PHP-FPM upstream socket only took effect after a manual reload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9cbc166ee8
commit
9c04bfb7d6
1 file changed
+1
@@ -11,6 +11,7 @@
|
|||||||
template:
|
template:
|
||||||
src: etc/nginx/nginx.conf.j2
|
src: etc/nginx/nginx.conf.j2
|
||||||
dest: "{{ nginx_root_dir }}/nginx.conf"
|
dest: "{{ nginx_root_dir }}/nginx.conf"
|
||||||
|
notify: reload nginx
|
||||||
|
|
||||||
- name: setup nginx non-default folders
|
- name: setup nginx non-default folders
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in new issue
Block a user