nuc: switch to caddy

This commit is contained in:
Rouven Seifert 2024-05-21 18:44:04 +02:00
parent 6e82ae5be8
commit 657ae1385e
10 changed files with 69 additions and 98 deletions

View file

@ -0,0 +1,10 @@
{ config, ... }:
{
services.caddy = {
enable = true;
email = "ca@${config.networking.domain}";
logFormat = "format console";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 443 ];
}