![]() |
Access your Jellyfin anywhere with Caddy - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Guides, Walkthroughs & Tutorials (https://forum.jellyfin.org/f-guides-walkthroughs-tutorials) +--- Thread: Access your Jellyfin anywhere with Caddy (/t-access-your-jellyfin-anywhere-with-caddy) Pages:
1
2
|
RE: Access your Jellyfin anywhere with Caddy - VP Lex - 2023-12-07 (2023-12-07, 12:21 AM)DemonWarrior Wrote: You used your router internal ip not your external ip trying using the ip from here. https://ipchicken.com In every tutorial it is given 127.0.0.1. If we had to give public ip, then why are those tutorials even exist? RE: Access your Jellyfin anywhere with Caddy - TheDreadPirate - 2023-12-07 Your DuckDNS domain routes external traffic to Caddy. Caddy then routes the request to Jellyfin. Specifying "reverse_proxy 127.0.0.1:8096" tells Caddy that the localhost is the host running Jellyfin. This only applies of Jellyfin and Caddy are on the same host. RE: Access your Jellyfin anywhere with Caddy - VP Lex - 2023-12-07 Found the issue. I had to forward 80, 443 for both TCP and UDP. I did only TCP. RE: Access your Jellyfin anywhere with Caddy - Phlalom - 2024-01-04 Hi, First of all thank you for this guide, it is clear and easy to follow. However, when I visit my domain in the browser (Firefox) I don't see my jellyfin instance; instead the browser sends me to to my_url.com/web/index.html where I get a blank white page. If I check the network console I can see I'm getting a 404. The address bar does show I've connected via https though. Can anybody suggest where I start trouble shooting this issue? Thanks EDIT: Just to add, I have tried using Caddy to reverse proxy to other stuff running on my machine, like a react project running on port 3000- this works just fine, so seems as if the issue is with my jellyfin config somehow? RE: Access your Jellyfin anywhere with Caddy - 34626 - 2024-01-04 Whats the text you added in the CaddyFile? I also use Caddy and it works flawless here.. Have you tried to validate it or upgrade? (Using Caddy over SSH here) RE: Access your Jellyfin anywhere with Caddy - OsulivanAB - 2024-02-22 Appreciate the help! After following your advice, I successfully set up remote access to my server using a Duck DNS domain. Post-setup, I noticed a drastic drop in my home network's performance, even when the server wasn't in use, and there was no unusual activity logged on the Jellyfin logs. I'm very new to networking, but I suspect the issue might be related to misrouted traffic via Caddy? I'm not sure Here's my setup: - An old laptop runs Proxmox, hosting a TrueNas VM for storing movies and running Jellyfin in a jail. - Caddy is configured in a separate jail for web access. - Port forwarding is set to the Caddy IP for ports 80 and 443. - Configured Caddy with: Code: caddy reverse-proxy --from <mydomain>.duckdns.org --to 192.168.<jellyfin>:8096 - Configured Caddyfile: Code: <mydomain>.duckdns.org The following day, my internet speed plummeted from around 700mbps to 60mbps. My Raspberry Pi which monitors the internet speeds periodically throughout the day noted this decline coincided with the setup completion. Given no active server use was logged, I'm puzzled by the significant impact on my network's outgoing internet quality. Could simple port forwarding be the culprit? I'm not sure why forwarding incoming web server ports would impact my other devices so bad. RE: Access your Jellyfin anywhere with Caddy - TheDreadPirate - 2024-02-22 Setting up port forwarding should not have any impact on router performance. Unless you have some weird setup. RE: Access your Jellyfin anywhere with Caddy - bonnzifier - 2024-02-26 Code: whatever.duckdns.org { RE: Access your Jellyfin anywhere with Caddy - rygle - 2024-03-02 I just use Tailscale. Much more secure. Easy. https://forum.jellyfin.org/t-mega-reverse-proxy-jellyfin-tutorials?pid=17556#pid17556 RE: Access your Jellyfin anywhere with Caddy - pxr5 - 2024-07-25 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: { The Dynu example config for the Caddyfile is like this: Code: tls { So which do I use? I've knocked up my own Caddyfile and it looks like this, using both examples above: Code: { I just need some clarity about what exactly goes in the Caddyfile. Thanks. |