Bug 21267: Set X-FORWARDED-PROTO https if required
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Aug 2018 13:45:52 +0000 (10:45 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 5 Sep 2018 14:43:43 +0000 (15:43 +0100)
commitee1eec9d255e3a9341c9e17558d6d1f835add5ce
treedc439234752534cd9acad48bff2bbbbc46d1232d
parent3516f113b7cc7cca7c292b5e9c6dc1abc5fc0e46
Bug 21267: Set X-FORWARDED-PROTO https if required

This patch makes the apache configuration for the reverse proxy
(required for Plack) so it sets the X-FORWARDED-PROTO header correctly
for Plack::Middleware::ReverseProxy to use it.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Ulrich Kleiber <ulrich.kleiber@bsz-bw.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Since we actually resolve 19799 now (Changing language on OPAC redirects
back to homepage), I will move that code to a new enh report.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 302dd7bf8233ebf640bfde82fc050f8b08b2757c)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
debian/templates/apache-shared-intranet-plack.conf
debian/templates/apache-shared-opac-plack.conf