Update default.conf
This commit is contained in:
parent
3937beb3e3
commit
64b2a6308e
@ -138,7 +138,7 @@ server {
|
|||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
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,x-sessionkey always;
|
add_header Access-Control-Allow-Headers content-type,x-sessionkey,device,browser,os,devicetype always;
|
||||||
add_header Access-Control-Expose-Headers x-sessionkey always;
|
add_header Access-Control-Expose-Headers x-sessionkey always;
|
||||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
return 200;
|
return 200;
|
||||||
@ -146,7 +146,7 @@ server {
|
|||||||
|
|
||||||
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,x-sessionkey always;
|
add_header Access-Control-Allow-Headers content-type,x-sessionkey,device,browser,os,devicetype always;
|
||||||
add_header Access-Control-Expose-Headers X-Sessionkey always;
|
add_header Access-Control-Expose-Headers X-Sessionkey always;
|
||||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
proxy_pass http://10.6.0.23:1490/;
|
proxy_pass http://10.6.0.23:1490/;
|
||||||
|
Loading…
Reference in New Issue
Block a user