Ajout de Webdav extension à NginX

This commit is contained in:
VC
2019-12-01 11:08:19 +01:00
parent 72cd967a79
commit edcc161642
5 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
- name: install dav-ext
package:
name: libnginx-mod-http-dav-ext
state: present
- name: activate module
file:
src: "/usr/share/nginx/modules-available/mod-http-dav-ext.conf"
dest: "/etc/nginx/modules-enabled/50-mod-http-dav-ext.conf"
force: True
follow: False
state: link
notify:
- restart nginx

View File

@@ -22,3 +22,6 @@
- name: fcgiwrap for mailman
include_tasks: fcgiwrap.yml
when: inventory_hostname == 'mail.dmz.mateu.be'
- name: dav-ext for bt
include_tasks: davext.yml
when: inventory_hostname == 'bt.dmz.mateu.be'

View File

@@ -3,4 +3,4 @@
name: Matomo reports
user: www-data
minute: "5"
job: "/usr/bin/php /srv/nginx/nintendojo.fr/analyse/console core:archive > /dev/null"
job: "/usr/bin/php /srv/http/analyse.nintendojo.fr/console core:archive > /dev/null"