Skip to content

Commit

Permalink
Don't modify headers on relay
Browse files Browse the repository at this point in the history
  • Loading branch information
guimard committed Aug 16, 2024
1 parent 164cce4 commit f26ace7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions portal/install/etc/cont-init.d/update-nginx-portal-conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ server {
server_name $1;
location / {
proxy_pass $2;
proxy_redirect off;
proxy_set_header Host \$host:\$server_port;
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
}
}
EOF
Expand Down

0 comments on commit f26ace7

Please sign in to comment.