SteveDinn
(Steve Dinn)
November 6, 2019, 3:39pm
7
The HA NGINX guide is here:
⚠ This guide has been migrated from our website and might be outdated. Feel free to edit this guide to update it, and to remove this message after that. Using NGINX as a proxy for Home Assistant allows you to serve Home Assistant securely over...
Reading time: 29 mins 🕑
Likes: 45 ❤
Depending on your set up, you can install NGINX in a number of ways, so I’d recommend googling and reading up. After that, remove the certificate stuff from your Home Assistant config. If you’re still having trouble, my NGINX config is here:
My nginx.config file is unchanged from the default. This is my /etc/nginx/sites-enabled/[site] file:. Remember to replace example.com with your duckdns domain name. Note that on my router, everything forwards to the same port, i.e., 80 --> 80, 443 --> 443. If you want to have SSL on a different port, then forward it as such, and look for the “443” in the sites config file, and change it to match.
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
## I don't actua…