fix: open firewall
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
68172f09ac
commit
e2e780ea28
1 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,13 @@
|
||||||
|
|
||||||
networking.hostName = "hosting-01";
|
networking.hostName = "hosting-01";
|
||||||
networking.nameservers = [ "8.8.8.8" ];
|
networking.nameservers = [ "8.8.8.8" ];
|
||||||
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [
|
||||||
|
80
|
||||||
|
443
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
nginx = {
|
nginx = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue