add dedicated acces log

This commit is contained in:
vincent 2020-12-16 17:41:55 +01:00
parent 469c5e640a
commit cb5aa94cb9

View File

@ -88,6 +88,8 @@ nginx_vhosts:
server_name: "git.{{domain.name}}"
filename: "gitea.conf"
state: "present"
access_log: /var/log/nginx/gitea.access.log
error_log: /var/log/nginx/gitea.error.log
template: "{{ nginx_vhost_template }}"
extra_parameters: |
include /etc/nginx/conf.d/{{domain.name}}.ssl;
@ -106,6 +108,8 @@ nginx_vhosts:
filename: "syno.conf"
state: "present"
template: "{{ nginx_vhost_template }}"
access_log: /var/log/nginx/syno.access.log
error_log: /var/log/nginx/syno.error.log
extra_parameters: |
include /etc/nginx/conf.d/{{domain.name}}.ssl;
location / {
@ -122,6 +126,8 @@ nginx_vhosts:
filename: "supysonic.conf"
state: "present"
template: "{{ nginx_vhost_template }}"
access_log: /var/log/nginx/supysonic.access.log
error_log: /var/log/nginx/supysonic.error.log
extra_parameters: |
include /etc/nginx/conf.d/{{domain.name}}.ssl;
location / {
@ -138,6 +144,8 @@ nginx_vhosts:
filename: "nextcloud.conf"
state: "present"
template: "{{ nginx_vhost_template }}"
access_log: /var/log/nginx/nextcloud.access.log
error_log: /var/log/nginx/nextcloud.error.log
extra_parameters: |
include /etc/nginx/conf.d/{{domain.name}}.ssl;
add_header X-Content-Type-Options nosniff;
@ -249,6 +257,8 @@ nginx_vhosts:
filename: "hass.conf"
state: "present"
template: "{{ nginx_vhost_template }}"
access_log: /var/log/nginx/hass.access.log
error_log: /var/log/nginx/hass.error.log
extra_parameters: |
include /etc/nginx/conf.d/{{domain.name}}.ssl;
location / {
@ -272,6 +282,8 @@ nginx_vhosts:
filename: "chisel.conf"
state: "present"
template: "{{ nginx_vhost_template }}"
access_log: /var/log/nginx/chisel.access.log
error_log: /var/log/nginx/chisel.error.log
extra_parameters: |
include /etc/nginx/conf.d/{{domain.name}}.ssl;
location / {