Fix X-Forwarded-Proto header to pass through value from Nginx Proxy Manager instead of overwriting with local

This commit is contained in:
directlx 2026-01-26 10:10:20 -05:00
parent 329e22cfd6
commit 89761e8c21
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ server {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
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-Proto $scheme; proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Host $host;
proxy_connect_timeout 300s; proxy_connect_timeout 300s;
proxy_read_timeout 300s; proxy_read_timeout 300s;