Hi,
I’ve succesfully got my hass.io installation running with LetsEncrypt, but I am trying to get the nginx proxy add-on to work.
The trouble I am having is with the syntax, and that there are no examples of how this is included into the add-on config.
Currently, I have this:
{
"domain": "home.domain.com",
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}
Can anyone assist with an example syntax of how or where I would include an existing nginx proxy config, or create my own?
I’m trying to:
- expose/proxy my existing HA on port 8123 to
https://home.domain.com
- when i look at the repo config, it looks like it should do this already, but doesnt. Instead I get an “502 Bad Gateway, nginx/1.12.0” error.
- expose/proxy an internal service like eg:
http://192.168.0.20
tohttps://something.domain.com
(the LetsEncrypt cert already supports it)- I think I would need to access and modify the proxy nginx.conf file, but I cant seem to find it anywhere.
This would basically cover most use cases I think.
Can anyone help?