ProxyPreserveHost On
# RequestHeader set X-FORWARDED-PROTO "https"
RequestHeader set X-FORWARDED-PROTO "https" env=HTTPS
# Point the intranet site to Plack
ProxyPass /index.html "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet/mainpage.pl"
# Point the OPAC site to Plack
ProxyPass /index.html "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac/opac-main.pl"
-