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;