Skip to content

Commit

Permalink
services/nginx: allow IPC again
Browse files Browse the repository at this point in the history
Necessary due to the switch to pcre2 in the package. Adopted from the
upstream module, see NixOS/nixpkgs@9e66870
  • Loading branch information
osnyx committed Dec 17, 2024
1 parent 467a92e commit 5b61ec7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nixos/services/nginx/base-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1442,8 +1442,7 @@ in
# System Call Filtering
SystemCallArchitectures = "native";
SystemCallFilter = [ "~@cpu-emulation @debug @keyring @mount @obsolete @privileged @setuid" ]
++ optional cfg.enableQuicBPF [ "bpf" ]
++ optionals ((cfg.package != pkgs.tengine) && (cfg.package != pkgs.openresty) && (!lib.any (mod: (mod.disableIPC or false)) cfg.package.modules)) [ "~@ipc" ];
++ optional cfg.enableQuicBPF [ "bpf" ];
};
};
# reload config before acme renewals, to ensure new vhosts are actually activated from the config file
Expand Down

0 comments on commit 5b61ec7

Please sign in to comment.