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