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

@@ -12,8 +12,8 @@ server {
add_header Strict-Transport-Security "max-age=15768000";
access_log <%= node[:nginx][:log_dir] %>/<%= @domain %>.access.log json;
error_log <%= node[:nginx][:log_dir] %>/<%= @domain %>.error.log warn;
access_log <%= node[:openresty][:log_dir] %>/<%= @domain %>.access.log json;
error_log <%= node[:openresty][:log_dir] %>/<%= @domain %>.error.log warn;
location / {
if ($request_method = 'OPTIONS') {