https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25361

--- Comment #3 from David Cook <dc...@prosentient.com.au> ---
Thanks to https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21267, the
X-Forwarded-Proto header gets set in Apache when using Plack, so
Plack::Middleware::ReverseProxy will set the $ENV->{HTTPS} to true. 
(With CGI, you'd need to add the headers in your reverse proxy, but Koha
doesn't have a mechanism for using X-Forwarded-Proto for CGI Koha.)

Thanks to https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23068,
there is support for X-Forwarded-For for both Plack and CGI Koha.
(mod_proxy_http in Apache should automatically add headers for X-Forwarded-For,
X-Forwarded-Host, and X-Forwarded-Server). I guess
Plack::Middleware::ReverseProxy runs too and takes care of the first reverse
proxy which will be Apache on the local machine...

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to