No, the pastebin in that reddit post, i.e. https://pastebin.com/9MCkLFyX, is a Caddy v2 config. That’s not what you posted. What you posted used proxy
which is the Caddy v1 directive. In v2, it’s reverse_proxy
. For example, this line in what you posted:
I really don’t understand what the problem is here. That guide on reddit is very complete and covers everything you might need to run Caddy on windows to proxy Jellyfin.
What do you mean by “protect”? Jellyfin has user authentication built-in.
This is a bit contradictory. If you have “a DNS pointed to it” then you have a domain. DNS is an acronym for “domain name system”.
If you just want Caddy to proxy requests to Jellyfin without HTTPS, then you can use :80
as your site address instead of your domain… but most people want HTTPS so their connections between their server and the clients are encrypted, and for that, you need a domain.
This article may help you better understand: