Hacker News new | ask | show | jobs
by wbl 2361 days ago
Reverse proxies do pass the host header which is all you need.
1 comments

I'm talking about the case where your application is being served at, say, localhost:1234 but the reverse proxy thinks it's example.com/some/sub/path; as far as I know there is no header that says "add /some/sub/path to every URL you generate". (Yes, Host tells you the base is example.com.)