diff --git a/devices/cluster/modules/caddy.nix b/devices/cluster/modules/caddy.nix index 972fe77f..f31220b9 100644 --- a/devices/cluster/modules/caddy.nix +++ b/devices/cluster/modules/caddy.nix @@ -15,6 +15,8 @@ in { environment.systemPackages = [caddy]; users.users.${mainUser}.extraGroups = ["caddy"]; + boot.kernel.sysctl."net.ipv4.ip_nonlocal_bind" = 1; + systemd.services.caddy.serviceConfig = { EnvironmentFile = secrets.caddy-cloudflare.path;