Skip to content
Snippets Groups Projects
Commit 7f74bb95 authored by shirenn's avatar shirenn 🌊
Browse files

[rp] Split logs in multiple files

parent b55c31fe
No related branches found
No related tags found
1 merge request!310[rp] Split logs in multiple files
......@@ -36,8 +36,8 @@ server {
include "/etc/nginx/snippets/options-ssl.{{ site.ssl|default(nginx.default_ssl_domain) }}.conf";
# Log into separate log files
access_log /var/log/nginx/{{ site.from }}.log;
error_log /var/log/nginx/{{ site.from }}_error.log;
access_log /var/log/nginx/{{ site.from }}/access.log;
error_log /var/log/nginx/{{ site.from }}/error.log;
# Keep the TCP connection open a bit for faster browsing
keepalive_timeout 70;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment