• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Jelyfin behind Apache with basic auth

     
    • 0 Vote(s) - 0 Average

    Jelyfin behind Apache with basic auth

    Rickendude
    Offline

    Junior Member

    Posts: 7
    Threads: 3
    Joined: 2024 Dec
    Reputation: 0
    #1
    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:

    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-24, 08:49 PM
    AFAIK Jellyfin does not support basic auth on top of its own basic auth.

    https://github.com/jellyfin/jellyfin-android/issues/123
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Rickendude
    Offline

    Junior Member

    Posts: 7
    Threads: 3
    Joined: 2024 Dec
    Reputation: 0
    #3
    2024-12-26, 02:19 PM
    Thanks
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode