Ajout de Webdav extension à NginX
This commit is contained in:
14
roles/webapps/tasks/davext.yml
Normal file
14
roles/webapps/tasks/davext.yml
Normal 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
|
@@ -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'
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user