|
@@ -478,8 +478,9 @@ server {
|
|
|
|
|
|
|
|
#=========================CORS nginx配置=============================
|
|
#=========================CORS nginx配置=============================
|
|
|
if ($http_origin ~* (https?://([^\.]+\.)*proginn\.com(:[0-9]+)?)$) {
|
|
if ($http_origin ~* (https?://([^\.]+\.)*proginn\.com(:[0-9]+)?)$) {
|
|
|
- set $cors "true";
|
|
|
|
|
|
|
+ #set $cors "true";
|
|
|
}
|
|
}
|
|
|
|
|
+ set $cors "true";
|
|
|
|
|
|
|
|
if ($request_method = 'OPTIONS') {
|
|
if ($request_method = 'OPTIONS') {
|
|
|
set $cors "${cors}options";
|
|
set $cors "${cors}options";
|