nextcloud: fix log directory

This commit is contained in:
Victor LABORIE 2018-03-26 15:19:54 +02:00
parent fed1ca89a7
commit 48f9213589
2 changed files with 5 additions and 1 deletions

View file

@ -28,6 +28,6 @@
group: "{{ item[0] }}"
with_nested:
- "{{ nextcloud_instances | list }}"
- [ 'logs', 'config', 'data', 'tmp' ]
- [ 'log', 'config', 'data', 'tmp' ]
tags:
- nextcloud

View file

@ -3,8 +3,12 @@ server {
listen [::]:80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name{% for domain in domains %} {{ domain }}{% endfor %};
access_log /home/{{ name }}/log/access.log;
error_log /home/{{ name }}/log/error.log;
include /etc/nginx/ssl/{{ name }}.conf;
add_header X-Content-Type-Options nosniff;