From b0c0be68d190bb8cf7bcc435b3d975aa4555d55c Mon Sep 17 00:00:00 2001 From: Mikhail Date: Tue, 23 Jan 2024 00:54:49 +0000 Subject: [PATCH] Update default.conf --- default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.conf b/default.conf index 5ed7cea..e3190e1 100644 --- a/default.conf +++ b/default.conf @@ -105,13 +105,13 @@ server { if ($request_method = OPTIONS) { add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; - add_header Access-Control-Allow-Headers content-type,authorization always; + add_header Access-Control-Allow-Headers content-type,x-sessionkey always; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; return 200; } add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; - add_header Access-Control-Allow-Headers content-type,authorization always; + add_header Access-Control-Allow-Headers content-type,x-sessionkey always; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; proxy_pass http://10.6.0.23:1490/; }