Verified Commit acb781e4 authored by Florian Pritz's avatar Florian Pritz
Browse files

kanboard: Use json for access logs


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 702be3ee
......@@ -7,7 +7,7 @@ server {
listen [::]:80;
server_name {{ kanboard_domain }};
access_log /var/log/nginx/{{ kanboard_domain }}/access.log reduced;
access_log /var/log/nginx/{{ kanboard_domain }}/access.log json_reduced;
error_log /var/log/nginx/{{ kanboard_domain }}/error.log;
include snippets/letsencrypt.conf;
......@@ -23,7 +23,7 @@ server {
listen [::]:443 ssl http2;
server_name {{ kanboard_domain }};
access_log /var/log/nginx/{{ kanboard_domain }}/access.log reduced;
access_log /var/log/nginx/{{ kanboard_domain }}/access.log json_reduced;
error_log /var/log/nginx/{{ kanboard_domain }}/error.log;
ssl_certificate /etc/letsencrypt/live/{{ kanboard_domain }}/fullchain.pem;
......@@ -39,7 +39,7 @@ server {
}
location ~ \.php$ {
access_log /var/log/nginx/{{ kanboard_domain }}/access.log main;
access_log /var/log/nginx/{{ kanboard_domain }}/access.log json_main;
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
......
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