Moving to nginx proxy to handle ssl
This commit is contained in:
parent
e6153acbb9
commit
244c212166
|
@ -1,14 +1,14 @@
|
||||||
homeassistant:
|
homeassistant:
|
||||||
# name: Home
|
external_url: !secret ahsl_base_url
|
||||||
# latitude: !secret MY_LATITUDE
|
internal_url: "http://192.168.7.157:8123"
|
||||||
# longitude: !secret MY_LONGITUDE
|
|
||||||
# elevation: 315
|
|
||||||
# unit_system: imperial
|
|
||||||
# time_zone: America/New_York
|
|
||||||
customize: !include customize.yaml
|
customize: !include customize.yaml
|
||||||
auth_providers:
|
auth_providers:
|
||||||
- type: homeassistant
|
- type: homeassistant
|
||||||
packages: !include_dir_named packages
|
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)
|
# 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.
|
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
|
||||||
http:
|
http:
|
||||||
#base_url: !secret ahsl_base_url
|
#base_url: !secret ahsl_base_url
|
||||||
ssl_certificate: !secret ahsl_ssl_cert
|
#ssl_certificate: !secret ahsl_ssl_cert
|
||||||
ssl_key: !secret ahsl_ssl_key
|
#ssl_key: !secret ahsl_ssl_key
|
||||||
use_x_forwarded_for: true
|
use_x_forwarded_for: true
|
||||||
trusted_proxies:
|
trusted_proxies:
|
||||||
- 192.168.7.1
|
- 192.168.7.1
|
||||||
|
|
Loading…
Reference in New Issue