Setting Up a Reverse Proxy with Caddy for Hass.io

Hey everyone! I’m diving into the world of setting up a reverse proxy for my home automation setup, and I wanted to share my journey and some questions I have along the way. Hopefully, someone with more experience can shed some light!

So, here’s my setup: I have an Intel NUC connected to the internet via a modem/router combo provided by my ISP. It has a dynamic IP address, which is something I need to work with. I installed Proxmox on my NUC and have one virtual machine running on it—Hass.io. Right now, I’ve port forwarded the Proxmox port (8006) on my router so I can access it externally. However, I don’t want to expose these ports to the outside world, which is why I’m looking into using Caddy as a reverse proxy.

Here are my questions:

  • Should I install Caddy as a separate VM or as an add-on within Home Assistant? If it’s an add-on, will I still be able to use it to access other VMs running on Proxmox?
  • Are there any resources or guides that you recommend for setting this up? What’s the recommended setup for someone in my situation?

I’m really excited about getting this working, as it will add an extra layer of security to my setup. But I want to make sure I’m doing this correctly and not missing any crucial steps. If anyone has experience with this or knows of any good resources, I’d greatly appreciate your input!

Thanks in advance for your help! :pray: