Skip to content

Commit

Permalink
feat: add proxy configuration for Hass.io ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
BCNelson committed Jan 5, 2025
1 parent 3e66806 commit 88b0540
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nixos/romeo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,15 @@ in
proxy_set_header Connection "upgrade";
'';
};
"/api/hassio_ingress" = {
proxyWebsockets = true;
proxyPass = "http://192.168.3.8:8123";
extraConfig = ''
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
'';
};
};
};
"budget.h.b.nel.family" = {
Expand Down

0 comments on commit 88b0540

Please sign in to comment.