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)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 31 Aug 2018 12:46:58 +0000 (12:46 +0000)
commit302dd7bf8233ebf640bfde82fc050f8b08b2757c
treeb320c67a8ae39f61c49c52a1c71f0df5e56c4e3a
parent9582d268af324b33bb6ebc9b9665d5bce994101c
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>
debian/templates/apache-shared-intranet-plack.conf
debian/templates/apache-shared-opac-plack.conf