remove reverse proxy headers that shouldn't be needed

This commit is contained in:
Tim Hess 2024-02-10 16:04:36 -06:00
Родитель 5c75507863
Коммит c5c5da2b5d
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -9,10 +9,8 @@ server {
location /api {
proxy_ssl_protocols TLSv1.2;
proxy_pass $INITIALIZR_SERVICE_URI;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $INITIALIZR_SERVICE_HOST;
proxy_set_header Connection keep-alive;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;