Update file default.conf

This commit is contained in:
Mikhail 2023-05-07 19:16:18 +00:00
parent 8bbc3d6159
commit 02166073c4

@ -8,7 +8,7 @@ server {
if ($request_method = OPTIONS) { if ($request_method = OPTIONS) {
add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Origin $http_origin always;
add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type always; add_header Access-Control-Allow-Headers content-type,authorization always;
return 200; return 200;
} }
if ($host = admin.pena.digital) { if ($host = admin.pena.digital) {