Update admin.conf

This commit is contained in:
Mikhail 2024-04-17 23:15:22 +00:00
parent b0ff7f0b39
commit c6c5e85a71

@ -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;