frontend goes to /panel/, which "understand" users
This commit is contained in:
parent
15444cab1a
commit
f724dddb02
2 changed files with 12 additions and 2 deletions
|
@ -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:
|
||||
|
|
2
panel
2
panel
|
@ -1 +1 @@
|
|||
Subproject commit d7fcf9f249f9f4ecdb078e6b1fadb880fcfc66ab
|
||||
Subproject commit 5abac50fca9b5ce0bfc7dddbed88d48f184900cc
|
Loading…
Reference in a new issue