home-assistant.github.io/source/_addons/nginx_proxy.markdown
2017-07-14 22:56:40 -07:00

29 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>