Firewall ports

This commit is contained in:
Alex 2021-12-08 17:57:54 +01:00
parent 2150e0956b
commit ad72e17f93
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1
2 changed files with 5 additions and 0 deletions

View file

@ -29,4 +29,7 @@
# Activate as Nomad and Consul server node
services.nomad.settings.server.enabled = true;
services.consul.extraConfig.server = true;
# Use this node as entrypoint to cluster (Diplonat not working for now)
networking.firewall.allowedTCPPorts = [ 80 443 ];
}

View file

@ -8,6 +8,8 @@
services.nomad.settings.datacenter = "neptune";
networking.firewall.allowedTCPPorts = [ 80 443 ];
# ----
nix = {