• 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 Troubleshooting SOLVED: Apache2 Proxy SubPath

     
    • 0 Vote(s) - 0 Average

    SOLVED: Apache2 Proxy SubPath

    whoo
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Canada
    #1
    2024-07-20, 03:21 PM (This post was last modified: 2024-07-20, 03:35 PM by TheDreadPirate. Edited 1 time in total.)
    Hi,
    I followed documentation https://jellyfin.org/docs/general/networking/apache
    Client -> Apache 2 -> Jellyfin


    Apache HTTP Server Project | Works Rocket
    Apache with Subpath | doesn't work Pensive-face
    - BaseURL is set
    - i saw requets with tcpdump localhost from apache to fellyfin
    - but jellyfin send 404  on /jellyfin/socket

    Plateform: Docker
    Version: 10.9.7

    Regards,
    Whoo.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-20, 03:53 PM
    One of the other mods who uses sub-paths is suggesting you clear your browser cache. Jellyfin caches aggressively and since you accessed your server without the subpath a lot of data may be cached for the non-subpathed URL.
    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]
    whoo
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Canada
    #3
    2024-07-20, 09:16 PM
    Thanks for answering.

    - I try to clean cache.
    - I try to start a new browser ... without any success.

    Subpath works without proxy: http://x.x.x.x:8096/subpath/
    Probably an error on configuration, I don't know how to configure debug mode.

    W.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-20, 11:07 PM
    Can you share your apache config via pastebin. Censor the domain.
    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]
    whoo
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Canada
    #5
    2024-07-20, 11:09 PM (This post was last modified: 2024-07-20, 11:40 PM by whoo. Edited 7 times in total.)
    Hi,

    After successfully testing with Caddy to validate my Jellyfin configuration, I found a workaround. 
    I have many subpath software, SSL authentication, password authentication (as backup auth), so:
      --> multiple sources of conflicts.

    Code:
    ### when upgrade to websocket redirect with proxy
    RewriteCond %{HTTP:Upgrade} websocket [NC]
    RewriteCond %{HTTP:Connection} upgrade [NC]
    RewriteRule "^/vidz/(.*)$" ws://127.0.0.1:8096/vidz/$1 [QSA,P,L]
    ###
    RewriteRule "^/vidz/(.*)$" http://127.0.0.1:8096/vidz/$1 [QSA,P,L]

    No more 404 on /jellyfin/socket Partying-face


    Whoo
    « 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