fix: *arr nginx config

This commit is contained in:
AngeD 2023-10-14 17:46:24 +02:00
parent de623c4676
commit b1ec560038
2 changed files with 9 additions and 3 deletions

View File

@ -17,7 +17,13 @@ server {
location / { location / {
proxy_pass http://lidarr:8686; proxy_pass http://lidarr:8686;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_redirect off;
proxy_http_version 1.1;
} }
} }

View File

@ -17,7 +17,7 @@ server {
location / { location / {
proxy_pass http://sonarr:8989; proxy_pass http://sonarr:8989;
proxy_set_header Host $host; proxy_set_header Host $proxy_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;