mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
nuc: switch to caddy
This commit is contained in:
parent
6e82ae5be8
commit
657ae1385e
10 changed files with 69 additions and 98 deletions
10
hosts/nuc/modules/caddy/default.nix
Normal file
10
hosts/nuc/modules/caddy/default.nix
Normal 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 ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue