Skip to content

Commit

Permalink
Merge pull request #286 from YorkshireIoT/allow-github-codespace-port…
Browse files Browse the repository at this point in the history
…-forwarding

Add HA configuration to allow development in GitHub codespace with HTTP port forwarding
  • Loading branch information
YorkshireIoT authored Jul 7, 2024
2 parents 82c76d3 + bb1a96d commit 06390b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configuration.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# https://www.home-assistant.io/integrations/default_config/
default_config:

# Allow forwarding so HA can be accessed via GitHub Codespace
# reverse proxy
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- ::1

# https://www.home-assistant.io/integrations/logger/
logger:
default: info
Expand Down

0 comments on commit 06390b8

Please sign in to comment.