I’ve been running HA for a while now and loving it.
I have forwarded port 8123 and just been using the non secure port externally, yes, not the best idea at all.
I run an nginx server and also have my own domain name.
I also utilise CloudFlare to provide some IP protection.
Currently, I have… subdomain.domain.com:8123
This is how I access it externally.
I would love to have https://subdomain.domain.com
With nginx, i’ve made several applications available externally with the above scenario working perfectly.
I do also have static external IP’s which helps as well.
With HA though, I just can’t seem to be able to get the result.
I would’ve through that i’d be able to access the https site internally, but it says it doesn’t exist.
The best and simple way is to used Nginx Proxy Manager https://nginxproxymanager.com Which not only forward your domain to the right IP also help you create LetsEncrypt SSL automatically.
In my case I run my NPM on different server. Then NPM will redirect my connection to my local http://ip:8123 This way I’m exposing single machine which only job is redirecting traffic internally
Thanks for the reply.
I’m very familiar with nginx, I run 6 hosts off it already.
My concern is, how can I expect nginx to push traffic to an IP and port internally that I can’t access locally?
Shouldn’t I be able to got to https://HA_IP and be able to access the secure page?
The way you do it (if you have static IP) you redirect your cloudflare domain to you static IP. Then make sure your router allow to forward port 80/443 to the NGINX server. Once NGINX get the information it will forward that domain to the right/correct server:port.
Again with NGINX Proxy Manager you will done it easily without having to touch the conf. But up to you. Make sure foward_pass is correct and all the proxy setting on NGINX