Skip to content

Commit

Permalink
fix(hass): Remove http forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Dec 14, 2023
1 parent 16ae7c1 commit 1289763
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions modules/services/hass.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ in {
services.home-assistant = {
enable = true;
config = {
http = {
use_x_forwarded_for = true;
trusted_proxies = ["127.0.0.1" "::1"];
};
# TODO
# http = {
# use_x_forwarded_for = true;
# trusted_proxies = ["127.0.0.1" "::1"];
# };

homeassistant = {
unit_system = "imperial";
Expand All @@ -30,6 +31,7 @@ in {
http.server_port = 8123;
};

# TODO
openFirewall = true;
};
};
Expand Down

0 comments on commit 1289763

Please sign in to comment.