Verified Commit e7ee660a authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

Define and use our own log format for nginx

This is the same as used on luna and as expected by the zabbix nginx monitoring service.
parent 50cd9905
......@@ -7,7 +7,7 @@ server {
listen [::]:80;
server_name {{ archwiki_domain }};
access_log /var/log/nginx/{{ archwiki_domain }}/access.log;
access_log /var/log/nginx/{{ archwiki_domain }}/access.log main;
error_log /var/log/nginx/{{ archwiki_domain }}/error.log;
include snippets/letsencrypt.conf;
......@@ -22,7 +22,7 @@ server {
listen [::]:443 ssl http2;
server_name {{ archwiki_domain }};
access_log /var/log/nginx/{{ archwiki_domain }}/access.log;
access_log /var/log/nginx/{{ archwiki_domain }}/access.log main;
error_log /var/log/nginx/{{ archwiki_domain }}/error.log;
ssl_certificate /etc/letsencrypt/live/{{ archwiki_domain }}/fullchain.pem;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment