mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-05-28 18:43:40 +00:00
chore(config): update core integrations for development environment
Enhance the configuration for the HTTP component to support development in Codespaces and DevContainer. This includes settings for server host, IP banning, trusted proxies, and CORS. Impact: Improved development experience by allowing easier access and configuration in development environments.
This commit is contained in:
parent
a2fe572dc2
commit
3ba8e91958
1 changed files with 16 additions and 1 deletions
|
|
@ -16,8 +16,23 @@ system_health:
|
||||||
# Note: Diagnostics integration cannot be disabled, but without analytics
|
# Note: Diagnostics integration cannot be disabled, but without analytics
|
||||||
# and with internal_url set, no data is sent externally
|
# and with internal_url set, no data is sent externally
|
||||||
|
|
||||||
# Core integrations needed for development
|
# Core integrations
|
||||||
http:
|
http:
|
||||||
|
# Development server settings for Codespaces/DevContainer
|
||||||
|
server_host: "0.0.0.0"
|
||||||
|
# Disable IP banning for development to avoid lockouts
|
||||||
|
ip_ban_enabled: false
|
||||||
|
# Allow access from Codespaces reverse proxy
|
||||||
|
use_x_forwarded_for: true
|
||||||
|
trusted_proxies:
|
||||||
|
- 127.0.0.0/8
|
||||||
|
- ::1
|
||||||
|
- 192.168.0.0/16
|
||||||
|
- 172.16.0.0/12
|
||||||
|
- 10.0.0.0/8
|
||||||
|
# CORS for development
|
||||||
|
cors_allowed_origins:
|
||||||
|
- "*"
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue