Fix Firewall
This commit is contained in:
parent
d916bbedd5
commit
339284dfe9
3 changed files with 6 additions and 2 deletions
|
@ -42,7 +42,10 @@ let
|
|||
};
|
||||
|
||||
services = {
|
||||
prometheus.exporters.node.openFirewall = true;
|
||||
prometheus.exporters = {
|
||||
node.openFirewall = true;
|
||||
nginx.openFirewall = true;
|
||||
};
|
||||
|
||||
nextcloud = {
|
||||
enable = true;
|
||||
|
|
|
@ -8,6 +8,7 @@ let
|
|||
};
|
||||
};
|
||||
in {
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
m-0.monitoring = [{
|
||||
name = "hera-nginx";
|
||||
host = "hera-intern:9113";
|
||||
|
|
|
@ -19,7 +19,7 @@ in {
|
|||
useDHCP = false;
|
||||
hosts = lib.zipAttrs
|
||||
(lib.mapAttrsToList (host: ip: { "${ip}" = "${host} ${host}.m-0.eu"; })
|
||||
config.m-0.hosts);
|
||||
config.m-0.hosts);
|
||||
};
|
||||
|
||||
users = {
|
||||
|
|
Loading…
Reference in a new issue