Skip to content

Commit

Permalink
Fix Hass.io addon SSL (esphome#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
OttoWinter authored Jun 6, 2019
1 parent 16ae46e commit f977e9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/rootfs/etc/nginx/servers/direct-ssl.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -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 "";

Expand Down

0 comments on commit f977e9d

Please sign in to comment.