This commit is contained in:
TheWanderingCrow 2025-09-06 16:05:25 -04:00
parent 71ce38b696
commit a864bfaa6f

View file

@ -79,4 +79,21 @@
unifiPackage = pkgs.unifi;
mongodbPackage = pkgs.mongodb-7_0;
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"dragneel.local" = {
locations."/" = {
extraConfig = ''
allow 192.168.0.0/16;
allow ${inputs.nix-secrets.network.primary.publicIP};
deny all;
'';
proxyPass = "http://localhost:8080";
};
};
};
};
}