diff --git a/docker/frontend-apache.conf b/docker/frontend-apache.conf index 077364d..60e7c2b 100644 --- a/docker/frontend-apache.conf +++ b/docker/frontend-apache.conf @@ -70,7 +70,7 @@ DBDParams "host=db dbname=feeds user=apache password=apachepass" SetHandler form-login-handler Use Auth -AuthFormLoginSuccessLocation "/tt-rss/" +AuthFormLoginSuccessLocation "/panel/" @@ -210,4 +210,14 @@ ProxyPassReverse http://rss-bridge/ Require all granted + +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 + + # vim: set ft=apache bkc=yes: diff --git a/panel b/panel index d7fcf9f..5abac50 160000 --- a/panel +++ b/panel @@ -1 +1 @@ -Subproject commit d7fcf9f249f9f4ecdb078e6b1fadb880fcfc66ab +Subproject commit 5abac50fca9b5ce0bfc7dddbed88d48f184900cc