Fix Hass.io addon SSL (#613)

Fixes https://github.com/esphome/issues/issues/404
This commit is contained in:
Otto Winter 2019-06-06 13:14:20 +02:00
parent 533f81d625
commit 11605a36f7
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -4,6 +4,11 @@ server {
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
include /etc/nginx/includes/ssl_params.conf;
ssl on;
ssl_certificate /ssl/%%certfile%%;
ssl_certificate_key /ssl/%%keyfile%%;
# Clear Hass.io Ingress header
proxy_set_header X-Hassio-Ingress "";