I’m using home assistant OS on a raspberry PI on a IoT VLAN.
So far I wasn’t using Nginx and I had SSL through Cloudflare (Also using CloudFlare Firewall)
http: server_port: 8443 # From the previous step ssl_certificate: /ssl/origin.pem ssl_key: /ssl/privkey.pem ip_ban_enabled: true login_attempts_threshold: 2
my port forwarding was (and still is) 8433 to HA_IP to 8433.
I installed Nginx Proxy manager generated a new certificate, and my host is marked as ONLINE.
but when I click on the host, it’s redirecting me to https://HAIP:81/nginx/proxy and then after a while I’m redirected to the cloudflare Error 522
If you’re the owner of this website:
Contact your hosting provider letting them know your web server is not completing requests. An Error 522 means that the request was able to connect to your web server, but that the request didn’t finish. The most likely cause is that something on your server is hogging resources. Additional troubleshooting information here.
also my sub.domain is “proxyed” by cloudflare.
when I’m using my domain + port 8433 is still working like before (assuming this is not using Ngnix but the previous web server by default with HA OS?)
- what the expected port forwarding rule for my Firewall on this configuration
- do I need to change my configuration file with home assistant to refer to Ngnix ?
- do I need to run both Nginx Proxy manager and Ngnix SSL Addon (I suppose is one or the other but not both right?)