Update file default.conf

This commit is contained in:
Mikhail 2023-05-11 16:24:12 +00:00
parent ba70532928
commit dc6124c1f1

@ -42,7 +42,7 @@ server {
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 always;
add_header Access-Control-Allow-Methods OPTINOS, GET, POST, PATCH, PUT, DELETE;
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
proxy_set_header Referer $host;
proxy_set_header Origin $http_origin;
proxy_set_header Connection '';