From 8bbc3d6159d615f53c4c2f9135f4d25cfd76d4a6 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sun, 7 May 2023 15:34:30 +0000 Subject: [PATCH] Update default.conf --- default.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.conf b/default.conf index fd41d16..6a15d71 100644 --- a/default.conf +++ b/default.conf @@ -56,6 +56,9 @@ server { add_header Access-Control-Allow-Headers content-type always; 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 always; proxy_set_header Host $host; proxy_pass http://10.6.0.31:8006/; }