From ffe412ff3bda96c21cc7852677f64bc439efc9cd Mon Sep 17 00:00:00 2001 From: Felipe Zipitria Date: Fri, 13 Dec 2024 12:56:58 -0300 Subject: [PATCH] fix: update more_set_headers syntax Signed-off-by: Felipe Zipitria --- nginx/templates/includes/cors.conf.template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx/templates/includes/cors.conf.template b/nginx/templates/includes/cors.conf.template index 1cce89e..c03d36d 100644 --- a/nginx/templates/includes/cors.conf.template +++ b/nginx/templates/includes/cors.conf.template @@ -1,5 +1,5 @@ -more_set_headers -s 403 'Content-Type' '${CORS_HEADER_403_CONTENT_TYPE}'; -more_set_headers -s 403 'Access-Control-Allow-Origin' '${CORS_HEADER_403_ALLOW_ORIGIN}'; -more_set_headers -s 403 'Access-Control-Max-Age' '${CORS_HEADER_403_MAX_AGE}'; -more_set_headers -s 403 'Access-Control-Allow-Methods' '${CORS_HEADER_403_ALLOW_METHODS}'; -more_set_headers 'Access-Control-Allow-Headers' '${CORS_HEADER_ACCESS_CONTROL_ALLOW_HEADERS}'; +more_set_headers -s 403 'Content-Type: ${CORS_HEADER_403_CONTENT_TYPE}'; +more_set_headers -s 403 'Access-Control-Allow-Origin: ${CORS_HEADER_403_ALLOW_ORIGIN}'; +more_set_headers -s 403 'Access-Control-Max-Age: ${CORS_HEADER_403_MAX_AGE}'; +more_set_headers -s 403 'Access-Control-Allow-Methods: ${CORS_HEADER_403_ALLOW_METHODS}'; +more_set_headers 'Access-Control-Allow-Headers: ${CORS_HEADER_ACCESS_CONTROL_ALLOW_HEADERS}';