mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add nvr to nginx
This commit is contained in:
parent
8c3ce29b0d
commit
33473bba66
2 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue