Disable default nginx site
This commit is contained in:
parent
cd028c53be
commit
cc4c8a81c4
|
@ -27,6 +27,12 @@
|
||||||
regexp: ^ZM_PATH_ZMS
|
regexp: ^ZM_PATH_ZMS
|
||||||
line: ZM_PATH_ZMS=/cgi-bin/nph-zms
|
line: ZM_PATH_ZMS=/cgi-bin/nph-zms
|
||||||
|
|
||||||
|
- name: Disable no-ssl default nginx site.
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /etc/nginx/conf.d/no-ssl.default.conf
|
||||||
|
state: absent
|
||||||
|
notify: reload nginx
|
||||||
|
|
||||||
- name: Copy zoneminder nginx config.
|
- name: Copy zoneminder nginx config.
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: zoneminder.conf
|
src: zoneminder.conf
|
||||||
|
|
Loading…
Reference in New Issue