[rp] Split logs in multiple files
parent
b55c31fe0e
commit
7f74bb95d5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue