nextcloud: fix log directory
This commit is contained in:
parent
fed1ca89a7
commit
48f9213589
|
@ -28,6 +28,6 @@
|
|||
group: "{{ item[0] }}"
|
||||
with_nested:
|
||||
- "{{ nextcloud_instances | list }}"
|
||||
- [ 'logs', 'config', 'data', 'tmp' ]
|
||||
- [ 'log', 'config', 'data', 'tmp' ]
|
||||
tags:
|
||||
- nextcloud
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue