This commit is contained in:
commit
30ce0dafc2
195 changed files with 8902 additions and 0 deletions
14
services/nginx/firewall.nix
Normal file
14
services/nginx/firewall.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (config.services.nginx) enable;
|
||||
in
|
||||
with lib; mkIf enable {
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue