[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-10-06 13:14:49
This commit is contained in:
parent
48e9239d7c
commit
046e22b89f
|
|
@ -104,28 +104,21 @@ server {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Accept-Encoding "";
|
||||
#sub_filter 'srvoffice001.itguys.com.br' 'cloud.grupopralog.com.br';
|
||||
#sub_filter_once off;
|
||||
#sub_filter_types text/css text/javascript application/javascript application/json;
|
||||
sub_filter 'srvoffice001.itguys.com.br' 'cloud.grupopralog.com.br';
|
||||
sub_filter_once off;
|
||||
sub_filter_types text/css text/javascript application/javascript application/json;
|
||||
|
||||
if ($request_method = 'OPTIONS') {
|
||||
#more_set_headers 'Access-Control-Allow-Origin: "$scheme://$http_host"';
|
||||
#more_set_headers 'Access-Control-Allow-Methods: GET, POST, OPTIONS, HEAD';
|
||||
#more_set_headers 'Access-Control-Allow-Headers: Authorization, Content-Type, Accept, Origin, User-Agent, DNT, Cache-Control, X-Mx-ReqToken, Keep-Alive, X-Requested-With, If-Modified-Since, X-UserType';
|
||||
#more_set_headers 'Access-Control-Allow-Credentials: true' always;
|
||||
#more_set_headers 'Access-Control-Max-Age: 1728000' always;
|
||||
add_header 'Access-Control-Allow-Origin' "$scheme://$http_host" always;
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, HEAD' always;
|
||||
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, Accept, Origin, User-Agent, DNT, Cache-Control, X-Mx-ReqToken, Keep-Alive, X-Requested-With, If-Modified-Since, X-UserType' always;
|
||||
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
||||
add_header 'Access-Control-Max-Age' '1728000' always;
|
||||
more_set_headers 'Access-Control-Allow-Origin: "$scheme://$http_host"';
|
||||
more_set_headers 'Access-Control-Allow-Methods: GET, POST, OPTIONS, HEAD';
|
||||
more_set_headers 'Access-Control-Allow-Headers: Authorization, Content-Type, Accept, Origin, User-Agent, DNT, Cache-Control, X-Mx-ReqToken, Keep-Alive, X-Requested-With, If-Modified-Since, X-UserType';
|
||||
more_set_headers 'Access-Control-Allow-Credentials: true' always;
|
||||
more_set_headers 'Access-Control-Max-Age: 1728000' always;
|
||||
return 204;
|
||||
}
|
||||
|
||||
#more_set_headers 'Access-Control-Allow-Origin: "$scheme://$http_host"';
|
||||
#more_set_headers 'Access-Control-Allow-Credentials: true';
|
||||
more_set_header 'Access-Control-Allow-Origin' "$scheme://$http_host" always;
|
||||
mote_set_header 'Access-Control-Allow-Credentials' 'true' always;
|
||||
more_set_headers 'Access-Control-Allow-Origin: "$scheme://$http_host"';
|
||||
more_set_headers 'Access-Control-Allow-Credentials: true';
|
||||
}
|
||||
|
||||
location ~* \.(?:css|js|mjs|svg|gif|png|jpg|jpeg|ico|wasm|woff|woff2|ttf|otf|map)$ {
|
||||
|
|
|
|||
Loading…
Reference in New Issue