Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple reverse proxy support #503

Closed
wants to merge 1 commit into from
Closed

Multiple reverse proxy support #503

wants to merge 1 commit into from

Conversation

b10m
Copy link
Contributor

@b10m b10m commented Nov 13, 2013

Apache for one allows the X-Forwarded-Host to be a comma seperated
list rather than a single value. See:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers

In a case of:

[interwebs] -> [external proxy] -> [internal proxy] -> [Dancer]

The X-Forward-Host will look like "domain.example, domain.example". This will then be used in, e.g. redirects:

Location: http://domain.example, domain.example/redirected_page

Apache for one allows the X-Forwarded-Host to be a comma seperated
list rather than a single value. See:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers
@xsawyerx
Copy link
Member

xsawyerx commented Dec 7, 2013

Merged, thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants