diff --git a/config/configuration.yaml b/config/configuration.yaml index 88f2854..47c2179 100644 --- a/config/configuration.yaml +++ b/config/configuration.yaml @@ -1,6 +1,6 @@ homeassistant: external_url: !secret ahsl_base_url - internal_url: "http://192.168.7.157:8123" + internal_url: !secret ahsl_base_url customize: !include customize.yaml auth_providers: - type: homeassistant @@ -18,21 +18,25 @@ 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 - - 162.158.187.228 - - 162.158.187.182 - - 108.162.238.38 - - 172.68.65.205 - - 173.245.54.122 - - 108.162.237.219 - - 108.162.238.60 - - 172.30.33.6 - - 162.158.187.220 + - 192.168.7.0/24 + - 173.245.48.0/20 + - 103.21.244.0/22 + - 103.22.200.0/22 + - 103.31.4.0/22 + - 141.101.64.0/18 + - 108.162.192.0/18 + - 190.93.240.0/20 + - 188.114.96.0/20 + - 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 login_attempts_threshold: 5 @@ -283,7 +287,7 @@ alert: !include_dir_merge_named alerts/ automation: !include automations.yaml script: !include scripts.yaml 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 switch: !include switches.yaml scene: !include scenes.yaml