Update admin.conf
This commit is contained in:
parent
76258e2659
commit
e83302af2a
@ -64,6 +64,14 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /heruvym/v1.0.0/ {
|
location /heruvym/v1.0.0/ {
|
||||||
|
|
||||||
|
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,authorization always;
|
||||||
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
|
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,sess always;
|
add_header Access-Control-Allow-Headers content-type,authorization,sess always;
|
||||||
|
Loading…
Reference in New Issue
Block a user