I want to reverse proxy my local webapps to make them accessible over the internet. I have a domain (whitelabs.xyz) over at namecheap which is DNS’d correctly. I only need to redirect demands from /[appname] to specific ports.
Latest update of windows server 2019
with my caddyfile in the same folder
whitelabs.xyz reverse_proxy /sonarr 127.0.0.1:8989
I’ve also toyed around with having multiple redirects, using only http, nothing works.
When I start caddy, no error messages are given
But when I try to connect to my website using the subfolder, I just get a blank page. My app is running because if I connect using my local network ip, I can see it. The problem comes from the redirect.
Nothing else is outputted from the console.
I’ve tried to change base URL from my apps, rebooting my router (ports 80 and 443 are open, of course), having only one redirect in case I was fucking up the syntax, literally copy-pasting the instructions from jellyfin’s caddy setup page, nothing has produced results.
I once got it to work with sonarr and radarr using the exact same syntax, but then I added jellyfin and radarr and sonarr stopped working, even after I removed the jellyfin line and reloaded my config.
It has also worked when not using a subfolder (no matcher in the reverse_proxy string), and when using the reverse-proxy command, but then my entire domain redirects to one app, which is exactly what I want to use caddy for so…
Jellyfin caddy page: