Use openresty node attributes in openresty templates
This commit is contained in:
@@ -7,7 +7,9 @@ server {
|
||||
|
||||
root /var/www/<%= @domain %>/public;
|
||||
|
||||
access_log off;
|
||||
access_log <%= node[:openresty][:log_dir] %>/<%= @domain %>.access.log;
|
||||
error_log <%= node[:openresty][:log_dir] %>/<%= @domain %>.error.log warn;
|
||||
|
||||
gzip_static on;
|
||||
gzip_comp_level 5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user