1
0
Fork 0

Fix Firewall

This commit is contained in:
Malte Brandy 2019-08-12 12:54:20 +02:00
parent d916bbedd5
commit 339284dfe9
3 changed files with 6 additions and 2 deletions

View file

@ -42,7 +42,10 @@ let
};
services = {
prometheus.exporters.node.openFirewall = true;
prometheus.exporters = {
node.openFirewall = true;
nginx.openFirewall = true;
};
nextcloud = {
enable = true;

View file

@ -8,6 +8,7 @@ let
};
};
in {
networking.firewall.allowedTCPPorts = [ 80 443 ];
m-0.monitoring = [{
name = "hera-nginx";
host = "hera-intern:9113";

View file

@ -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 = {