Hi everyone
,
I’m currently trying to revise my homelab-infrastructure and how to access everything from internally as well as externally similarly.
I don’t know why but I like to have access to all my internal stuff via SSL encrypted traffic
. I know that normally there is no actual sense to secure everything inside your home environment, but I like to be consistent when connecting to each service and prevent the security message to come up, not just from the services facing the public internet.
So, what I did so far, was creating another LXC container on my Proxmox host with a Nginx Proxy Manager instance installed. I thought this is the easiest way to obtain and manage certs centrally without configuring acme.sh on each and every host independently.
Now I know, that the question comes to your mind: “Why not just configuring the acme.sh on every host he has, since there should not be so many changes in his home environment?”
But I don’t know why, my inner voice won’t let go of me to simplify everything and finally be able to sleep well again
.
What I want to achieve:
I’ve established remote access to my HA VM via the Nabu Casa Cloud (and I want to keep this connection) and obtained an SSL cert for the local connection via the Let’s Encrypt AddOn inside of HA.
That works perfectly, but I was wondering whether it might be possible to have a reverse proxy for the local connection in place (restricting it via configuration.yaml to accept the traffic coming from the proxy) to have all certs and configurations in one place (and probably get rid of the default port in the URL…I know, just cosmetics, but I like it being pretty
)
Of course, I would disable the internal SSL config then and let the proxy forward the traffic directly to http://…:8123, then.
When I was reading the documentation for the HA’s reverse proxy settings, I asked myself whether this breaks the built-in cloud connection to Nabu Casa or whether these settings don’t harm the cloud connection possibilities, when I tell HA to accept only the traffic coming through the proxy, to prevent anyone from connection to it, directly.
Does anyone already have a similar setup or has tested it and can confirm that it doesn’t work the way I’d like it to?
If you have any questions or assumptions, feel free to ask :)!
Thanks in advance
Penny