Disable default nginx site

This commit is contained in:
Patrick Neff 2022-01-25 10:30:23 +01:00
parent cd028c53be
commit cc4c8a81c4
1 changed files with 6 additions and 0 deletions

View File

@ -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