Update default.conf
This commit is contained in:
parent
3d28c0d3e9
commit
9201a77b14
13
default.conf
13
default.conf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user