I am completely new to Caddy and I’m finding myself very confused, I think what I am trying to achieve is relatively simple for someone with the right knowledge so hopefully someone out there can help me out.
I have a QNAP NAS and my goal is to access NZBGet, Radarr & Sonarr remotely and over SSL. From what I have read, using a reverse proxy is the easiest way to achieve this on QNAP. I am able to access my NAS home page remotely via SSL and it’s set up via DDNS.
So I can type mynas.myurl:443 for example and it will resolve to my IP and display my nas login. I can forward any port and substitute that port in the url to go to that page, anything non-ssl works fine but when attempting to use SSL, I would need to configure each app individually and it looks like trouble on QNAP.
My understanding is that I can use a Caddyfile so that I can type mynas.myurl/nzbget and then I could be directed there with SSL.
My first problem is my understanding of where do I find or where do I put the Caddyfile, my default installation of Caddy is “/share/CACHEDEV1_DATA/.qpkg/Caddy” but there is no caddyfile. Any documentation I have seen states that the Caddyfile can go anywhere but I don’t quite understand how that can be possible.
Secondly, as you can probably tell, I am very new to this and I don’t understand even after reading the caddyfile tutorial it just goes over my head and I find myself no closer to understanding anything over the first line of the caddyfile.
I would appreciate any insight, thank you