configuration.nix/hosts/shared/caddy.nix

9 lines
203 B
Nix

_: {
services.caddy = {
enable = true;
acmeCA = "https://acme-v02.api.letsencrypt.org/directory";
email = "admin@acomputer.lol";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}