Update default.conf
All checks were successful
Deploy / CreateImage (push) Successful in 33s
Deploy / DeployService (push) Successful in 24s

This commit is contained in:
skeris 2025-02-25 14:34:35 +00:00
parent b0d68eeaca
commit ed2c209f36

@ -20,6 +20,11 @@ server {
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
return 200;
}
if ($args != "") {
return 404;
}
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 always;
@ -48,6 +53,11 @@ server {
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
return 200;
}
if ($args != "") {
return 404;
}
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,response-type always;
@ -69,6 +79,11 @@ server {
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
return 200;
}
if ($args != "") {
return 404;
}
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,response-type always;