52 |
+ if ($port eq $sslPort) |
+ if ($port eq $sslPort) |
53 |
+ { |
+ { |
54 |
+ # mod_auth_tkt needs to know the protocol to write 307 redirection |
+ # mod_auth_tkt needs to know the protocol to write 307 redirection |
55 |
+ $OUT .= " RequestHeader set X-Forwarded-Proto "https"\n"; |
+ $OUT .= " RequestHeader set X-Forwarded-Proto \"https\"\n"; |
56 |
+ } |
+ } |
57 |
$OUT .= " ProxyPass /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n"; |
$OUT .= " ProxyPass /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n"; |
58 |
$OUT .= " ProxyPassReverse /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n"; |
$OUT .= " ProxyPassReverse /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n"; |