• 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 Hide Login Page

     
    • 0 Vote(s) - 0 Average

    Hide Login Page

    sleepparalysisdemon
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    Country:United States
    #3
    2023-12-30, 12:56 AM (This post was last modified: 2023-12-30, 03:38 AM by sleepparalysisdemon. Edited 1 time in total.)
    Wanted to give an update. Here is a solution for Caddy.  It will reverse proxy any user-agents with the string JellyfinMediaPlayer, but redirect all others to an HTML page. This works with both the Windows and Linux Flatpak media players, but not the iOS app as the User-agent for that client is Mozilla (see below for Swiftfin)

    Use this for your Caddyfile:
    Code:
    yourdomain.xyz {
    # reverse proxy jellyfin if user-agent contains string JellyfinMediaPlayer
            @notbot header_regexp User-Agent (?i)(JellyfinMediaPlayer)
            handle @notbot {
                    reverse_proxy 127.0.0.1:8096
            }
    # if not, load other page instead
            handle {
                    root * /path/to/your/html/page
                    file_server
                    encode gzip
            }
    }

    EDIT: You can support other native clients like Swiftfin, just change the header_regexp line:
    Code:
    @notbot header_regexp User-Agent (?i)(JellyfinMediaPlayer|Swiftfin)
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Hide Login Page - by sleepparalysisdemon - 2023-12-28, 06:41 PM
    RE: Hide Login Page - by TheDreadPirate - 2023-12-29, 05:29 PM
    RE: Hide Login Page - by sleepparalysisdemon - 2023-12-30, 12:56 AM
    RE: Hide Login Page - by TheDreadPirate - 2023-12-30, 01:52 AM
    RE: Hide Login Page - by sleepparalysisdemon - 2023-12-30, 03:30 AM

    • 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