mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-03-10 10:12:09 +07:00
@@ -7,6 +7,12 @@
|
||||
when: nginx_php | length > 0
|
||||
notify: reload nginx
|
||||
|
||||
- name: FILE | Delete PHP upstream
|
||||
file:
|
||||
path: "{{ nginx_etc_dir }}/conf.d/php.conf"
|
||||
state: absent
|
||||
when: nginx_php | length == 0
|
||||
|
||||
- name: TEMPLATE | Deploy other upstreams
|
||||
template:
|
||||
src: "etc/nginx/conf.d/_upstream.conf.j2"
|
||||
|
||||
Reference in New Issue
Block a user