Update file default.conf
This commit is contained in:
parent
20a754312f
commit
d9be194344
@ -120,6 +120,12 @@ server {
|
|||||||
proxy_pass http://10.6.0.31:8006/;
|
proxy_pass http://10.6.0.31:8006/;
|
||||||
}
|
}
|
||||||
location /verification/ {
|
location /verification/ {
|
||||||
|
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 always;
|
||||||
|
return 200;
|
||||||
|
}
|
||||||
add_header Access-Control-Allow-Origin $http_origin always;
|
add_header Access-Control-Allow-Origin $http_origin always;
|
||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
add_header Access-Control-Allow-Headers content-type,authorization always;
|
add_header Access-Control-Allow-Headers content-type,authorization always;
|
||||||
|
Loading…
Reference in New Issue
Block a user