nixpkgs/nixos/modules
Alyssa Ross 178ec8974f nixos/nginx: allow overriding fastcgi params
By default in Nginx, if you want to override a single fastcgi_param,
you have to override all of them.  This is less of a big deal if
you're editing the Nginx configuration directly, but when you're
generating the Nginx configuration with Nix it can be very annoying to
bloat your configuration repeating the default values of FastCGI
parameters every time.

This patch adds a fastcgiParams option to Nginx locations.  If any
parameters are set through this, all the default values will be
included as well, so only the ones that are changing need to be
supplied.  There's no way to use fastcgiParams to actually override
all parameters if that's what you want, but I think that's a niche use
case and it's still possible using extraConfig, which up until now was
the only option

Nginx allows the fastcgi_param directive in http and server scopes as
well as location, but here I only support location.  It would be
possible to support the others, but I don't think it's worth it.  It
would be a possible future enhancement if somebody has a need for it.
2021-01-05 03:36:18 +00:00
..
config Merge pull request #106787 from flokli/console-optional-display-manager 2021-01-02 11:04:14 +01:00
hardware nixos/hardware: add opentabletdriver module 2020-12-30 10:14:30 -03:00
i18n/input-method hime: fix enable hime, remove hime-all package 2020-10-17 10:48:31 +08:00
installer linux: configure aarch64 contiguous memory allocator via kernel config 2020-12-31 18:20:49 +01:00
misc Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
profiles profiles/hardened: Add note about potential instability 2021-01-04 16:03:29 +01:00
programs Typo 2021-01-04 12:44:03 +01:00
security nixos/pam: use pam_faillock instead of pam_tally 2021-01-03 15:54:23 +01:00
services nixos/nginx: allow overriding fastcgi params 2021-01-05 03:36:18 +00:00
system nixos/systemd: provide libidn2 for systemd-resolved 2020-12-25 13:45:25 +01:00
tasks bcachefs: add sha256 kernel module 2020-12-25 21:28:50 +01:00
testing nixos/tests: only apply qemu parameters if the options are defined 2020-10-25 13:42:01 +01:00
virtualisation Merge pull request #107610 from puffnfresh/patch-3 2020-12-31 09:39:25 +01:00
module-list.nix Merge pull request #108142 from Ma27/grafana-img-renderer 2021-01-01 19:19:51 +01:00
rename.nix frab: remove package 2020-12-10 22:24:11 +01:00