Add nvr to nginx

This commit is contained in:
muon 2025-08-01 12:02:44 +00:00
parent 8c3ce29b0d
commit 33473bba66
2 changed files with 6 additions and 1 deletions

View file

@ -55,6 +55,11 @@ in {
default = true; default = true;
locations."/" = { proxyPass = "http://localhost:8008"; }; locations."/" = { proxyPass = "http://localhost:8008"; };
}; };
"nvr.muon.host" = {
enableACME = true;
forceSSL = true;
locations."/" = { proxyPass = "http://10.0.0.2:8095"; };
};
"tetterodesportcomplex.nl" = { "tetterodesportcomplex.nl" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;

View file

@ -13,9 +13,9 @@ in with lib; {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
networking.firewall.allowedTCPPorts = [ 8095 ];
services.zoneminder = { services.zoneminder = {
enable = true; enable = true;
openFirewall = true;
database = { database = {
createLocally = true; createLocally = true;
username = "zoneminder"; username = "zoneminder";