move firewall opening to nginx
This commit is contained in:
parent
194b13437b
commit
64b9027099
2 changed files with 9 additions and 4 deletions
|
|
@ -119,6 +119,15 @@ in
|
|||
|
||||
virtualHosts = hosts;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80 # http
|
||||
443 # https
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
80 # http
|
||||
443 # https
|
||||
];
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue