• 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 Guides, Walkthroughs & Tutorials Access your Jellyfin anywhere with Caddy

     
    • 5 Vote(s) - 4 Average

    Access your Jellyfin anywhere with Caddy

    Setting up port forwarding, reverse proxy (Caddy), and HTTPS
    pxr5
    Offline

    Member

    Posts: 59
    Threads: 3
    Joined: 2024 Jan
    Reputation: 3
    Country:United Kingdom
    #20
    2024-07-25, 06:44 PM
    I hope the OP, Matt, will see this post as I think he's the creator/maintainer of caddy-dynamicdns.

    I've been using Caddy v2 for quite a while now, but was using a little Windows app to automatically update my IP when needed. Until I read this post properly and discovered Caddy itself can be used for Dynamic DNS. I've managed to install both plugins successfully (caddy-dynamicdns and the dynu plugin), though I did have to register dynu on the Caddy Downloads. Anyway this is where I'm getting a bit stuck with Caddyfile entries. 

    caddy-dynamicdns gives Minimal Example Config for the Caddyfile as:

    Code:
    {
            dynamic_dns {
                    provider cloudflare {env.CLOUDFLARE_API_TOKEN}
                    domains {
                            example.com
                    }
            }
    }

    The Dynu example config for the Caddyfile is like this:

    Code:
    tls {
            dns dynu {env.DYNU_API_TOKEN} {
            own_domain {env.OWN_DYNU_DOMAIN}
            }
    }

    So which do I use? I've knocked up my own Caddyfile and it looks like this, using both examples above:

    Code:
    {
            dynamic_dns {
                    provider dynu apiapiapiapi
                    domains {
                            mydomain.exmaple.com
                    }
            }
    }

    mydomain.exmaple.com {
            reverse_proxy 192.168.x.xx:8080
    }

    tls {
            dns dynu apiapiapiapi {
            own_domain mydomain.exmaple.com
            }
    }

    I just need some clarity about what exactly goes in the Caddyfile. Thanks.
    Jellyfin1 - 10.10.7 (Docker) Synology NAS (transcoding off)
    Jellyfin2 - 10.10.7 Minix ZX100-0db MiniPC, Intel N100 (transcoding on)
    Storage - x3 Synology NAS (22TB)
    Reverse Proxy - Caddy v2 running on a Pi3b+
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Access your Jellyfin anywhere with Caddy - by matt - 2023-06-19, 10:19 PM
    RE: Access your Jellyfin anywhere with Caddy - by iNfRaSoNiC - 2023-06-21, 10:03 AM
    RE: Access your Jellyfin anywhere with Caddy - by twinkybot - 2023-08-10, 08:04 AM
    RE: Access your Jellyfin anywhere with Caddy - by DeathLeprous1988 - 2023-09-04, 11:46 AM
    RE: Access your Jellyfin anywhere with Caddy - by Syntax - 2023-09-05, 02:44 PM
    RE: Access your Jellyfin anywhere with Caddy - by thubbe - 2023-09-06, 05:15 AM
    RE: Access your Jellyfin anywhere with Caddy - by zoOe - 2023-09-25, 09:54 AM
    RE: Access your Jellyfin anywhere with Caddy - by VP Lex - 2023-12-06, 11:58 PM
    RE: Access your Jellyfin anywhere with Caddy - by DemonWarrior - 2023-12-07, 12:21 AM
    RE: Access your Jellyfin anywhere with Caddy - by VP Lex - 2023-12-07, 12:32 AM
    RE: Access your Jellyfin anywhere with Caddy - by VP Lex - 2023-12-07, 01:09 AM
    RE: Access your Jellyfin anywhere with Caddy - by bonnzifier - 2024-02-26, 06:48 AM
    RE: Access your Jellyfin anywhere with Caddy - by TheDreadPirate - 2023-12-07, 01:54 AM
    RE: Access your Jellyfin anywhere with Caddy - by VP Lex - 2023-12-07, 12:59 PM
    RE: Access your Jellyfin anywhere with Caddy - by Phlalom - 2024-01-04, 12:01 AM
    RE: Access your Jellyfin anywhere with Caddy - by 34626 - 2024-01-04, 01:32 PM
    RE: Access your Jellyfin anywhere with Caddy - by OsulivanAB - 2024-02-22, 06:27 PM
    RE: Access your Jellyfin anywhere with Caddy - by TheDreadPirate - 2024-02-22, 07:35 PM
    RE: Access your Jellyfin anywhere with Caddy - by rygle - 2024-03-02, 01:46 AM
    RE: Access your Jellyfin anywhere with Caddy - by pxr5 - 2024-07-25, 06:44 PM

    • 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