diff --git a/apxtri/setup/nginx.wwwscf b/apxtri/setup/nginx.wwwscf index a176f9b..5c21a2d 100644 --- a/apxtri/setup/nginx.wwwscf +++ b/apxtri/setup/nginx.wwwscf @@ -1,5 +1,5 @@ server { -server_name {{#dns}}. {{/dns}}; +server_name {{#dns}}{{{.}}} {{/dns}}; add_header 'Access-Control-Allow-Origin' '*' always; add_header 'Access-Control-Allow-Credentials' 'true' always; add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS' always;