• 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 Setup Reverse Proxy?

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Setup Reverse Proxy?

    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #11
    2024-04-05, 05:25 PM
    (2024-04-05, 05:18 PM)TheDreadPirate Wrote: That error message indicates you have another process that is listening on port 80 so Caddy isn't able to start. Do you have another web server running already?

    Yes. OwnTracks. It's a tracking thing I setup for some friends and myself. Is there a way to use both at once or use a different port for it maybe?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-04-05, 05:38 PM
    In your caddyfile you can have it listen on a different port. I use Nginx, so I can't say with confidence how this is done. But I think you append your domain name in the caddy file with the port?

    So it would be like "domain.tld:8080" or whatever port you want to use. You would need to ensure that this port is opened on Ubuntu's firewall.
    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]
    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #13
    2024-04-05, 05:40 PM
    (2024-04-05, 05:38 PM)TheDreadPirate Wrote: In your caddyfile you can have it listen on a different port. I use Nginx, so I can't say with confidence how this is done.  But I think you append your domain name in the caddy file with the port?

    So it would be like "domain.tld:8080" or whatever port you want to use.  You would need to ensure that this port is opened on Ubuntu's firewall.

    So actually, the OwnTracks thing is using Nginx.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2024-04-05, 05:44 PM
    Interesting. If you want to leave that alone, you can try adding Jellyfin to nginx.

    https://jellyfin.org/docs/general/networking/nginx/

    I need to revalidate this doc because these 3 lines caused issues for me, so I commented them out of my nginx config.

    Code:
    location = / {
            return 302 http://$host/web/;
            #return 302 https://$host/web/;
        }

    You can change the "listen" line at the top of the doc to listen on a different port since OwnTracks is already listening there.
    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]
    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #15
    2024-04-05, 06:49 PM
    (2024-04-05, 05:44 PM)TheDreadPirate Wrote: Interesting.  If you want to leave that alone, you can try adding Jellyfin to nginx.

    https://jellyfin.org/docs/general/networking/nginx/

    I need to revalidate this doc because these 3 lines caused issues for me, so I commented them out of my nginx config.

    Code:
        location = / {
            return 302 http://$host/web/;
            #return 302 https://$host/web/;
        }

    You can change the "listen" line at the top of the doc to listen on a different port since OwnTracks is already listening there.

    Hey, thank you. I just wound up deleting the OwnTracks stuff. Works fine now!
    Pages (2): « Previous 1 2

    « 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