1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: convert sentinel to caddy

This commit is contained in:
oddlama 2023-06-05 01:53:38 +02:00
parent 6f84594c87
commit 9e4f8dcf0d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 51 additions and 25 deletions

View file

@ -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];
};
}