View | Details | Raw Unified | Return to bug 15005
Collapse All | Expand All

(-)a/debian/templates/apache-shared-intranet-plack.conf (+1 lines)
Lines 12-17 Link Here
12
        ProxyPreserveHost On
12
        ProxyPreserveHost On
13
13
14
       # RequestHeader set X-FORWARDED-PROTO "https"
14
       # RequestHeader set X-FORWARDED-PROTO "https"
15
        RequestHeader set "X-Forwarded-Script-Name" /cgi-bin/koha
15
16
16
        # Point the intranet site to Plack
17
        # Point the intranet site to Plack
17
        ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet"
18
        ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet"
(-)a/debian/templates/apache-shared-opac-plack.conf (+1 lines)
Lines 12-17 Link Here
12
        ProxyPreserveHost On
12
        ProxyPreserveHost On
13
13
14
       # RequestHeader set X-FORWARDED-PROTO "https"
14
       # RequestHeader set X-FORWARDED-PROTO "https"
15
        RequestHeader set "X-Forwarded-Script-Name" /cgi-bin/koha
15
16
16
        # Point the intranet site to Plack
17
        # Point the intranet site to Plack
17
        ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac"
18
        ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac"
(-)a/debian/templates/plack.psgi (-1 / +1 lines)
Lines 65-70 my $opac = Plack::App::CGIBin->new( Link Here
65
builder {
65
builder {
66
66
67
    enable "ReverseProxy";
67
    enable "ReverseProxy";
68
    enable "ReverseProxyPath";
68
    enable "Plack::Middleware::Static";
69
    enable "Plack::Middleware::Static";
69
70
70
    mount '/opac'     => $opac;
71
    mount '/opac'     => $opac;
71
- 

Return to bug 15005