[d] Properly redirecting in apache conf

This commit is contained in:
Blallo 2018-09-19 22:41:27 +02:00
parent 9c3690d969
commit 0e42a12610

View file

@ -188,6 +188,8 @@ LogLevel warn
#AddOutputFilter INCLUDES .shtml #AddOutputFilter INCLUDES .shtml
</IfModule> </IfModule>
Redirect permanent "/tt-rss" "/tt-rss/"
ProxyPreserveHost On ProxyPreserveHost On
<Location /tt-rss/> <Location /tt-rss/>
ProxyPass http://tt-rss/tt-rss/ ProxyPass http://tt-rss/tt-rss/
@ -199,6 +201,8 @@ RewriteRule .* - [E=RU:%{LA-U:REMOTE_USER},NS]
RequestHeader set X-Forwarded-User %{RU}e RequestHeader set X-Forwarded-User %{RU}e
</Location> </Location>
Redirect permanent "/rss-bridge" "/rss-bridge/"
<Location /rss-bridge/> <Location /rss-bridge/>
ProxyPass http://rss-bridge/ ProxyPass http://rss-bridge/
ProxyPassReverse http://rss-bridge/ ProxyPassReverse http://rss-bridge/