Moving to nginx proxy to handle ssl

This commit is contained in:
Jeffrey Stone 2020-09-23 10:52:00 -04:00
parent e6153acbb9
commit 244c212166
1 changed files with 8 additions and 8 deletions

View File

@ -1,14 +1,14 @@
homeassistant:
# name: Home
# latitude: !secret MY_LATITUDE
# longitude: !secret MY_LONGITUDE
# elevation: 315
# unit_system: imperial
# time_zone: America/New_York
external_url: !secret ahsl_base_url
internal_url: "http://192.168.7.157:8123"
customize: !include customize.yaml
auth_providers:
- type: homeassistant
packages: !include_dir_named packages
media_dirs:
haunted_sounds: /media/haunted_sounds
music: /media/music
sounds: /media/sounds
# Configure a default setup of Home Assistant (frontend, api, etc)
@ -17,8 +17,8 @@ default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
#base_url: !secret ahsl_base_url
ssl_certificate: !secret ahsl_ssl_cert
ssl_key: !secret ahsl_ssl_key
#ssl_certificate: !secret ahsl_ssl_cert
#ssl_key: !secret ahsl_ssl_key
use_x_forwarded_for: true
trusted_proxies:
- 192.168.7.1