caddy: module: rmem_max default

This commit is contained in:
happysalada
2022-10-22 07:55:53 -04:00
committed by Yt
parent 3716419dd6
commit fdfdc5df21
@@ -290,6 +290,9 @@ in
}
'';
# https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size
boot.kernel.sysctl."net.core.rmem_max" = mkDefault 2500000;
systemd.packages = [ cfg.package ];
systemd.services.caddy = {
wants = map (hostOpts: "acme-finished-${hostOpts.useACMEHost}.target") acmeVHosts;