• 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 Networking & Access NPM reverse proxy, Cloudflare, Docker Compose help!

    Pages (4): 1 2 3 4 Next »

     
    • 0 Vote(s) - 0 Average

    NPM reverse proxy, Cloudflare, Docker Compose help!

    sunnythe14
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    #1
    2024-02-11, 03:17 AM (This post was last modified: 2024-03-14, 01:56 PM by sunnythe14. Edited 4 times in total.)
    Hey there,

    Been trying to get Nginx Proxy Manager, along with a custom domain managed in Cloudflare, Jellyfin, JSeer and the *arrs to work nicely.
    So far I've had no success.


    Here's my setup:

    Cloudflare DNS records 
       

    NPM Proxy host setup for JF
       

    JF Proxy host SSL settings
       

    JS Proxy host setup
       

    Properly Activated Cert with LetsEcrypt
       

    Forwarded port on my Router
       

    I've also attached my Docker compose file.

    I also am unsure if I'm supposed to forward port 80 on my router, and if that's the case, my ISP blocks port 80, so if that's causing issues, how do I go about that?

    Finally, "Allow remote connections to this server" is activated on JF, but none of the services are accessible.


    EDIT: WITH STEPS TRIED:

    1. Everything works with local IP
    2. browsing to the setup subdomain and domain with https e.g. "https://jf.*****.xyz" leads me to Cloudflare error 522
    3. Browsing to public ip with designated container subdomains doesn't work (as expected if it's passing through NPM)
    4. Browsing to public ip takes me to router login
    5. Browsing to domain, no subdomain takes me to router login



    Please help, I've been on this for three days lol Weary-face
    Go to solution
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-02-11, 03:24 AM
    what tests have you ran and what were the results?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-02-11, 03:43 AM (This post was last modified: 2024-02-11, 03:44 AM by TheDreadPirate. Edited 2 times in total.)
    1) Turn off proxying in CF. Streaming video through a CF tunnel/proxy is against their TOS
    2) On your ROUTER port forwarding rules, change the external port to some port other than 443/80. But the internal port can stay 443/80. Save
    3) In your browser tack on the new port to the URL.


    I am pretty sure there is a way to get NPM to listen on a different port, but my cursory searches aren't finding a straightforward answer.
    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]
    sunnythe14
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    #4
    2024-02-11, 03:47 AM
    (2024-02-11, 03:24 AM)tmsrxzar Wrote: what tests have you ran and what were the results?

    edited my post for visibility
    sunnythe14
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    #5
    2024-02-11, 03:56 AM (This post was last modified: 2024-02-11, 03:59 AM by sunnythe14. Edited 1 time in total.)
    (2024-02-11, 03:43 AM)TheDreadPirate Wrote: 1)  Turn off proxying in CF.  Streaming video through a CF tunnel/proxy is against their TOS
    2)  On your ROUTER port forwarding rules, change the external port to some port other than 443/80.  But the internal port can stay 443/80.  Save
    3)  In your browser tack on the new port to the URL.


    I am pretty sure there is a way to get NPM to listen on a different port, but my cursory searches aren't finding a straightforward answer.

    tried:
    disabled proxy, forwarded 5555 to 80 and 5556 to 443, tried browsing to jf.*****.xyz and
    jf.*****.xyz:5555/5556, with both http and https; no avail.

    using just domain no subdomain also fails entirely now, unless adding port 5555, which leads me to nginx default page for non set up hosts
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-02-11, 04:02 AM
    At any point have you restarted NPM? It sounds like it only has the default config. Any changes you make to NPM require it be restarted.
    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]
    sunnythe14
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    #7
    2024-02-11, 04:09 AM
    (2024-02-11, 04:02 AM)TheDreadPirate Wrote: At any point have you restarted NPM?  It sounds like it only has the default config.  Any changes you make to NPM require it be restarted.

    Yeah, ive done docker compose up and down a few times now, but just to be clear, was I supposed to change the ports in NPM compose.yml to?

    e.g.: from 443:443 to 5556:443?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-02-11, 04:14 AM
    In NPM, instead of using the hostnames for your services, put in the IP.
    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]
    sunnythe14
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    #9
    2024-02-11, 04:21 AM
    (2024-02-11, 04:14 AM)TheDreadPirate Wrote: In NPM, instead of using the hostnames for your services, put in the IP.

    By doing so, now i get

    error SSL_ERROR_RX_RECORD_TOO_LONG with port 5555 at end of url
    bad gateway 502 with port 5556 at end of url
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-02-11, 04:25 AM
    Where did you put the IP? I meant in the "Forward Hostname/IP" put the LAN IP for jellyfin.
    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]
    Pages (4): 1 2 3 4 Next »

    « 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