From da0220ae6215a8910b90f3b1036b2bb2cdd6b63c Mon Sep 17 00:00:00 2001 From: Peti Date: Fri, 23 Sep 2022 21:50:42 +0200 Subject: [PATCH] Add auth token for preflight mode in proxy --- nginx/https_arcsi.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/https_arcsi.conf.template b/nginx/https_arcsi.conf.template index 6c5b3268..605d51a8 100644 --- a/nginx/https_arcsi.conf.template +++ b/nginx/https_arcsi.conf.template @@ -83,7 +83,7 @@ server { add_header Access-Control-Allow-Origin '$http_origin' always; add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS, PUT, DELETE' always; add_header Access-Control-Allow-Credentials 'true' always; - add_header Access-Control-Allow-Headers 'Origin,Content-Type,Accept' always; + add_header Access-Control-Allow-Headers 'Origin,Content-Type,Accept,Authentication-Token' always; add_header Content-Length 0 always; add_header Content-Type text/plain always; return 204;