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 committed by GitHub
parent 16ae46e958
commit f977e9da2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,11 @@ server {
include /etc/nginx/includes/server_params.conf; include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf; include /etc/nginx/includes/proxy_params.conf;
include /etc/nginx/includes/ssl_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 # Clear Hass.io Ingress header
proxy_set_header X-Hassio-Ingress ""; proxy_set_header X-Hassio-Ingress "";