Vhost log separation
This commit is contained in:
parent
f492d6af84
commit
17a8185f97
@ -13,7 +13,10 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
expires $expires;
|
expires $expires;
|
||||||
client_max_body_size 50M;
|
client_max_body_size 50M;
|
||||||
|
|
||||||
|
ErrorLog /var/log/nginx/{{ vhost_name }}-error.log
|
||||||
|
CustomLog /var/log/nginx/{{ vhost_name }}-access.log combined
|
||||||
|
|
||||||
autoindex off;
|
autoindex off;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user