|
@@ -70,7 +70,7 @@ DBDParams "host=db dbname=feeds user=apache password=apachepass"
|
|
|
<Location "/login/do">
|
|
|
SetHandler form-login-handler
|
|
|
Use Auth
|
|
|
-AuthFormLoginSuccessLocation "/tt-rss/"
|
|
|
+AuthFormLoginSuccessLocation "/panel/"
|
|
|
</Location>
|
|
|
|
|
|
<Directory />
|
|
@@ -210,4 +210,14 @@ ProxyPassReverse http://rss-bridge/
|
|
|
Require all granted
|
|
|
</Location>
|
|
|
|
|
|
+<Location /panel/>
|
|
|
+ProxyPass http://panel:8000/panel/
|
|
|
+ProxyPassReverse http://panel:8000/panel/
|
|
|
+Use Auth
|
|
|
+Require valid-user
|
|
|
+RewriteEngine on
|
|
|
+RewriteRule .* - [E=RU:%{LA-U:REMOTE_USER},NS]
|
|
|
+RequestHeader set X-Forwarded-User %{RU}e
|
|
|
+</Location>
|
|
|
+
|
|
|
# vim: set ft=apache bkc=yes:
|