Moving to a new host and dropping the nginx proxy for a bit

This commit is contained in:
Jeffrey Stone 2021-01-24 22:13:58 -05:00
parent 328fe4cfac
commit 3040338fc9
1 changed files with 19 additions and 15 deletions

View File

@ -1,6 +1,6 @@
homeassistant: homeassistant:
external_url: !secret ahsl_base_url external_url: !secret ahsl_base_url
internal_url: "http://192.168.7.157:8123" internal_url: !secret ahsl_base_url
customize: !include customize.yaml customize: !include customize.yaml
auth_providers: auth_providers:
- type: homeassistant - type: homeassistant
@ -18,21 +18,25 @@ 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 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.0/24
- 162.158.187.228 - 173.245.48.0/20
- 162.158.187.182 - 103.21.244.0/22
- 108.162.238.38 - 103.22.200.0/22
- 172.68.65.205 - 103.31.4.0/22
- 173.245.54.122 - 141.101.64.0/18
- 108.162.237.219 - 108.162.192.0/18
- 108.162.238.60 - 190.93.240.0/20
- 172.30.33.6 - 188.114.96.0/20
- 162.158.187.220 - 197.234.240.0/22
- 198.41.128.0/17
- 162.158.0.0/15
- 104.16.0.0/12
- 172.64.0.0/13
- 131.0.72.0/22
ip_ban_enabled: true ip_ban_enabled: true
login_attempts_threshold: 5 login_attempts_threshold: 5
@ -283,7 +287,7 @@ alert: !include_dir_merge_named alerts/
automation: !include automations.yaml automation: !include automations.yaml
script: !include scripts.yaml script: !include scripts.yaml
sensor: !include_dir_merge_list sensors sensor: !include_dir_merge_list sensors
# binary_sensor: !include_dir_merge_list binary_sensors binary_sensor: !include_dir_merge_list binary_sensors
# light: !include lights.yaml # light: !include lights.yaml
switch: !include switches.yaml switch: !include switches.yaml
scene: !include scenes.yaml scene: !include scenes.yaml