• 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 Jellyfin next to HASS OS Through NGINX

     
    • 0 Vote(s) - 0 Average

    Jellyfin next to HASS OS Through NGINX

    I have Homeassistant and added Jellyfin to the setup, how do i get both exposed to internet via https, duckdns and NGINX
    Darkyputz
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #1
    2024-10-11, 07:06 PM
    Hello everyone...

    I am new to Jellyfin and i hope i am not asking to silly questions...
    I treid the search already but wasnt successful.
    So first my setup:
    I am running HomeAssistant on a lenovo mini that has a working Duckdns/Nginx setup running to expose my HASS to the world...and make it useable for the App.
    No i installed Jellyfin on my NAS (an old Netgear Pro6) that is running OMV7 and Jellyfin is installed and running via Compose...
    So far so good and it looks like that it is working fine in the local lan.
    But the original idea is/was to use Jellyfin to make my music and video available to the Jellyfin app on my fon, so that i have all my stuff with me.
    So i was looking at the NGINX that i am running and it is set to send all traffic from url xyz on port 443 to the internal port 80.
    But thats it...
    Does anyone have more knowledge about NGINX to actually expose more than one service?

    Every help would be highly appreciated

    Greetings from NJ

    Please let me know if any other/,ore info is needed...i just dont know right now what info could be helpful
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-11, 07:21 PM
    Why external port 443 to internal port 80?

    But to answer your question, subdomains is the solution. Subpaths is also a solution, but is more complicated, IMO, and harder to setup. Subdomains are pretty easy to setup, but do require you update your certificate with each new subdomain. Unless you get a wildcard cert.

    I have 8 services running, all on the same https port. Nginx sees the subdomain in the request and routes traffic accordingly.
    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]
    Darkyputz
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #3
    2024-10-12, 03:04 PM
    Hello and thx for your reply...would you mind explaining/helping me how you told nginx to handle thoise requests and sort them to your services?!
    How do you address them from outside as well?
    To get to my home assist right now i just do the https://domainname.duckdns.org and i am directly in my Hme assist...
    How do you do it...
    Thx for any hint and help
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-13, 12:51 AM
    Check if DuckDNS can do CNAMEs. In DuckDNS you would setup a CNAME called "jellyfin", or whatever you want,that points to your DuckDNS domain name.

    Then in Nginx you would change the "server_name" field to include your subdomain, jellyfin.domainname.duckdns.org. Once you've made that change, re-request your certificates. It should add your subdomain as a SAN (subject alternative name).
    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]
    Darkyputz
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #5
    2024-10-14, 06:20 PM
    Hello and thx again for your fast answer...

    I finally gave up the wildcard/alias idea and just use different urls from Duckdns to have NGINX proxy manager to work it out.
    Works...not as nice as wanted, but how often do you change your settings in an app after you set ip up, right?!
    Duckdns does not do CNAME...i guess, all duckdns.org addresses are already aliasses of the duckdns.org address...
    mysite.duckdns.org is what they offer you as url url...looks already like an alias to me when i think about it.

    Either way...thx anyway...
    « 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