2024-09-29, 12:20 PM
(This post was last modified: 2024-09-29, 12:34 PM by 4r5hw45twh. Edited 5 times in total.)
(2024-09-29, 12:04 AM)TheDreadPirate Wrote: Negatory. Subdomain CNAMEs can point to domain names. They can also be a completely different IPs.
"jellyfin" is a cname that points to my domain. So jellyfin.domain.tld would resolve to my public IP. This allows you to have multiple services listening on the same port since the reverse proxy would direct traffic to the proper destination based on the subdomain used. This also allows you to change how Cloudflare handles each subdomain. Whether DNS only or proxying. If you used subPATHs you wouldn't be able to do this. Like domain.tld/jellyfin.
Hmm. I decided to try and just use NGINX Proxy Manager (NPM) on Docker (JF is on my machine directly, not Docker).
On CF, I have my A domain record pointing to my server's public IP: https://i.imgur.com/9AE6YmP.png
I have NPM proxy host set for the same subdomain name like: https://i.imgur.com/4JfyBCH.png
I have a SSL (Let's Encrypt) thing setup on NPM. Ports are all forwarded fine.
Still can't connect outside the network. If I bypass NPM completely and just use proxied CF + tunnel to my local IP, it works fine outside the network, which looks like this: https://i.imgur.com/rg373Xk.png - CF creates the record automatically when the tunnel public hostname is created, shown here: https://i.imgur.com/f7slqwc.png