diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-03-29 15:24:15 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-03-29 15:24:44 +0700 |
commit | d41bac083b07996fc6773ca7530f6ecce8fad057 (patch) | |
tree | d5bb5fc6ab51329cb64bb75333d20275e4b29bde | |
parent | dd2a41893a568fc125d51b6e028aebda0e32d442 (diff) | |
download | nixos-conf-d41bac083b07996fc6773ca7530f6ecce8fad057.tar.gz |
Add workaround for nginx bug
-rw-r--r-- | static.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/static.nix b/static.nix index 13f75fd..378198a 100644 --- a/static.nix +++ b/static.nix @@ -173,6 +173,10 @@ in { molly-brown.serviceConfig.SupplementaryGroups = [ config.security.acme.certs.${domain}.group ]; - nginx.serviceConfig.SupplementaryGroups = [ "shadow" ]; + nginx.serviceConfig = { + SupplementaryGroups = [ "shadow" ]; + # https://discourse.nixos.org/t/nginx-worker-processes-exit-with-signal-31-when-running-via-systemd/13471/6 + SystemCallFilter = lib.mkForce ""; + }; }; } |