From c6c5e85a71fcedc0d8fdecd4a899311817aa456b Mon Sep 17 00:00:00 2001 From: Mikhail Date: Wed, 17 Apr 2024 23:15:22 +0000 Subject: [PATCH] Update admin.conf --- admin.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/admin.conf b/admin.conf index 29d5425..1a1fe0d 100644 --- a/admin.conf +++ b/admin.conf @@ -30,6 +30,13 @@ server { add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; } + location /squiz/ { + add_header Access-Control-Allow-Origin quiz.pena.digital always; + add_header Access-Control-Allow-Credentials true always; + add_header Access-Control-Allow-Headers content-type,authorization,response-type always; + add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; + proxy_pass http://10.8.0.9:1488/; + } location /user/ { if ($request_method = OPTIONS) { add_header Access-Control-Allow-Origin $http_origin always;