allowed (non-nix) home assistant to be acessed from outside.

This commit is contained in:
Gabe Venberg 2025-06-20 15:49:07 +02:00
parent 50ff7398bd
commit 6b12a84671
4 changed files with 32 additions and 9 deletions

View file

@ -0,0 +1,21 @@
{
inputs,
config,
pkgs,
lib,
...
}: {
imports = [
../../configs/nixos/nginx.nix
];
# For non-nix home assistant.
services.nginx.virtualHosts."home.venberg.xyz" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://10.10.0.3:8123";
proxyWebsockets = true;
};
};
}