add explicit headers

This commit is contained in:
Grisha Shipunov 2025-05-28 12:45:10 +02:00
parent b4fa571ffb
commit e61c4d2e1a

View file

@ -9,6 +9,8 @@ let
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Access-Control-Allow-Origin *;
proxy_set_header Access-Control-Allow-Methods 'GET, POST, PUT, DELETE, OPTIONS';
proxy_set_header Access-Control-Allow-Headers 'X-Requested-With, Content-Type, Authorization';
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;