From 9f659067dbd48a7bc8e52842262ec4544fe81ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 6 Oct 2022 22:03:33 +0200 Subject: [PATCH] hedgedoc: fix packet dropping, hopefully --- hosts/hedgedoc/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/hedgedoc/default.nix b/hosts/hedgedoc/default.nix index 419b7912..e2436e65 100644 --- a/hosts/hedgedoc/default.nix +++ b/hosts/hedgedoc/default.nix @@ -10,6 +10,12 @@ microvm.mem = 1024; + boot.kernel.sysctl = { + # table overflow causing packets from nginx to hedgedoc to drop + # nf_conntrack: nf_conntrack: table full, dropping packet + "net.netfilter.nf_conntrack_max" = "32768"; + }; + networking = { hostName = "hedgedoc"; hosts = {