Skip to content

Commit

Permalink
Pass hostname to proxied host
Browse files Browse the repository at this point in the history
  • Loading branch information
xendk committed Dec 11, 2024
1 parent 7da3d86 commit f14d396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions context/proxy/etc/nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ server {
root ${NGINX_DOCUMENT_ROOT};

location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass ${NGINX_PROXY_PASS};
}
}

0 comments on commit f14d396

Please sign in to comment.