Fix proxy for home-assist

This commit is contained in:
dvirlabs 2025-07-10 17:57:25 +03:00
parent aff10972d9
commit 457471288d

View File

@ -26,10 +26,28 @@ ingress:
configuration: configuration:
enabled: true enabled: true
forceInit: true # Optional forces merging with template on every start forceInit: true
trusted_proxies: trusted_proxies:
- 10.0.0.0/8 - 10.0.0.0/8
- 192.168.0.0/16 - 192.168.0.0/16
- 172.16.0.0/12 - 172.16.0.0/12
- 127.0.0.1/8 - 127.0.0.0/8
- 10.42.0.0/16 # Your K3s pod CIDR - 10.42.0.0/16
templateConfig: |-
default_config:
http:
use_x_forwarded_for: true
trusted_proxies:
- 10.0.0.0/8
- 192.168.0.0/16
- 172.16.0.0/12
- 127.0.0.0/8
- 10.42.0.0/16
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml