2024-12-24, 04:15 PM
(This post was last modified: 2024-12-24, 04:19 PM by Rickendude. Edited 1 time in total.)
Hello.
TLDR: Is there a way to setup basic auth for Apache's reverse proxy with Jellyfin?
I've setup Jellyfin behind apache with ssl enabled, everything seems to be working fine and it was really simple.
I am, however, slightly paranoid and I'd like to have everything behind apache's basic auth to avoid exposing jellyfin directly to the internet.
When I setup the basic auth it keeps popping up the login request, it actually works: After I put in the login details Jellyfin's login appears but the login popup keeps jumping.
In the apache error logs I see a few "AH01614: client used wrong authentication scheme"
I also see a lot of "pending" requests when looking at chrome's developer tools.
apache config:
Appreciate your thoughts here, thanks
TLDR: Is there a way to setup basic auth for Apache's reverse proxy with Jellyfin?
I've setup Jellyfin behind apache with ssl enabled, everything seems to be working fine and it was really simple.
I am, however, slightly paranoid and I'd like to have everything behind apache's basic auth to avoid exposing jellyfin directly to the internet.
When I setup the basic auth it keeps popping up the login request, it actually works: After I put in the login details Jellyfin's login appears but the login popup keeps jumping.
In the apache error logs I see a few "AH01614: client used wrong authentication scheme"
I also see a lot of "pending" requests when looking at chrome's developer tools.
apache config:
Code:
<Location /jf>
ProxyPreserveHost On
ProxyPass "http://127.0.0.1:8096/jf"
ProxyPassReverse "http://127.0.0.1:8096/jf"
RequestHeader unset Authorization #tried with and without
AuthUserFile "/my/htpasswd_path"
AuthName "Restricted area"
AuthType Basic
require valid-user
</Location>
Appreciate your thoughts here, thanks