Update default.conf
This commit is contained in:
parent
1e69eb748c
commit
18994c3e3f
40
default.conf
40
default.conf
@ -18,7 +18,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -42,7 +42,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -59,7 +59,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -81,7 +81,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -110,7 +110,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -134,7 +134,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -158,7 +158,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -182,7 +182,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -206,7 +206,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -230,7 +230,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -254,7 +254,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -278,7 +278,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -307,7 +307,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -338,7 +338,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -362,7 +362,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,device,browser,os,devicetype,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -383,7 +383,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,device,browser,os,devicetype,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -401,7 +401,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,device,browser,os,devicetype,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -420,7 +420,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,x-sessionkey,device,browser,os,devicetype,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -456,7 +456,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,device,browser,os,devicetype,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
@ -480,7 +480,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
if ($request_method = OPTIONS) {
|
||||
return 200
|
||||
return 200;
|
||||
}
|
||||
proxy_set_header Referer $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
|
Loading…
Reference in New Issue
Block a user