Add access and error logs for the assets vhost
This commit is contained in:
1 parent
1183f6a621
commit
7b0313fbd4
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user