home-assistant.github.io/source/_addons/nginx_proxy.markdown
2017-07-29 22:24:23 +02:00

28 lines
732 B
Markdown

---
layout: page
title: "NGINX SSL proxy"
description: "NGINX Home Assistant SSL proxy."
date: 2017-04-30 13:28
sidebar: true
comments: false
sharing: true
footer: true
---
Setup a SSL proxy with NGINX and redirect port 80 to 443. Make sure you have generate certificate before you start this add-on.
```json
{
"domain": "home.example.com"
}
```
Configuration variables:
- **domain** (*Required*): Domain they will proxy run with it.
<p class='note'>
It is possible to deactive port 80 if you need this for things like `emulate_hue`. It exists a the moment no UI function for that, so you need call Hass.io API with SSH addon:
`curl -d '{"network": {"443/tcp": 443}}' http://172.17.0.2/addons/core_nginx_proxy/options`
</p>