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:
lhahnandClaude Opus 5.5 committed 2026-10-14 17:47:26 +02:00
1 parent 9cbc166ee8
commit 9c04bfb7d6
1 file changed
+1
+1
View File
@@ -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: