forked from mirrors_public/oddlama_nix-config
feat: convert sentinel to caddy
This commit is contained in:
parent
6f84594c87
commit
9e4f8dcf0d
5 changed files with 51 additions and 25 deletions
|
@ -66,6 +66,9 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = optionals config.services.nginx.enable [80 443];
|
||||
networking.firewall.allowedTCPPorts =
|
||||
optionals
|
||||
(config.services.caddy.enable || config.services.nginx.enable)
|
||||
[80 443];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue