forked from Deuxfleurs/nixcfg
Firewall ports
This commit is contained in:
parent
2150e0956b
commit
ad72e17f93
2 changed files with 5 additions and 0 deletions
|
@ -29,4 +29,7 @@
|
||||||
# Activate as Nomad and Consul server node
|
# Activate as Nomad and Consul server node
|
||||||
services.nomad.settings.server.enabled = true;
|
services.nomad.settings.server.enabled = true;
|
||||||
services.consul.extraConfig.server = true;
|
services.consul.extraConfig.server = true;
|
||||||
|
|
||||||
|
# Use this node as entrypoint to cluster (Diplonat not working for now)
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
services.nomad.settings.datacenter = "neptune";
|
services.nomad.settings.datacenter = "neptune";
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
||||||
# ----
|
# ----
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
Loading…
Reference in a new issue