Bug 20582: Fix PSGI file when behind a reverse proxy
commitefc9a7d320f896115bee1a9ce4031bf32c46d86a
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 28 Aug 2020 13:35:14 +0000 (28 17:35 +0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Oct 2020 10:00:04 +0000 (6 12:00 +0200)
treee33549e2cd354de34520cc66ca330bd25659a9a4
parent92340d03afdee37504afdb792d41b2cad425481a
Bug 20582: Fix PSGI file when behind a reverse proxy

ReverseProxy middleware can modify SERVER_PORT which is used to
determines which app (opac or intranet) to run, so the choice should be
made before ReverseProxy middleware

Signed-off-by: Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
app.psgi