Update default.conf

This commit is contained in:
Mikhail 2024-06-08 22:02:50 +00:00
parent 3d28c0d3e9
commit 9201a77b14

@ -354,6 +354,19 @@ server {
proxy_set_header Host $host;
proxy_pass http://10.8.0.6:8006/;
}
location /requestquiz/ {
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,response-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,response-type always;
proxy_set_header Host $host;
proxy_pass http://10.8.0.6:8007/;
}
location /verification1 {
if ($request_method = OPTIONS) {
add_header Access-Control-Allow-Origin $http_origin always;