Add access and error logs for the assets vhost
This commit is contained in:
parent
1183f6a621
commit
7b0313fbd4
@ -8,7 +8,8 @@ server {
|
||||
|
||||
root /var/www/<%= @domain %>/site;
|
||||
|
||||
access_log off;
|
||||
access_log <%= node['openresty']['log_dir'] %>/<%= @domain %>.access.log;
|
||||
error_log <%= node['openresty']['log_dir'] %>/<%= @domain %>.error.log;
|
||||
gzip_static on;
|
||||
gzip_comp_level 5;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user