fix rsk with fixed host header in nginx proxy

This commit is contained in:
Sebastian
2024-11-06 13:32:01 +01:00
parent 283040ace0
commit 108f126c1f

View File

@@ -9,7 +9,7 @@ server {
location / { location / {
proxy_pass http://$proxy_connection; proxy_pass http://$proxy_connection;
proxy_set_header Host $host; proxy_set_header Host localhost;
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 $scheme;