Skip to content

Multiple reverse proxy support#503

Closed
b10m wants to merge 1 commit intoPerlDancer:masterfrom
b10m:multiple_reverse_proxy
Closed

Multiple reverse proxy support#503
b10m wants to merge 1 commit intoPerlDancer:masterfrom
b10m:multiple_reverse_proxy

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.

2 participants