[Dancer-users] Config Setting "behind_proxy: true" gives incorrect proxied protocol
gbhat at pobox.com
Thu Apr 5 02:56:34 CEST 2012
I am hosting a Dancer Web Application behind an Apache proxy using the
recommended (in Dance::Deployment) configuration.
The application can be accessed via a secure URL:
https://some.domain.comand I have set 'behind_proxy: "true"' in my
config.yml. However when I use
[% request.uri_base %], I get http://some.domain.com and not
https://some.domain.com which is what I am expecting.
Is there a way to have request.uri_base return the correct proxied protocol
(in this case https) rather than 'http'?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dancer-users