Use openresty node attributes in openresty templates

This commit is contained in:
Râu Cao
2023-07-31 15:07:35 +02:00
parent 7f2805831c
commit eab94090e8
6 changed files with 14 additions and 12 deletions

View File

@@ -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;