nixpkgs/nixos/modules/services/web-servers
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
..
apache-httpd nixos/httpd: set lua paths 2020-12-25 22:54:05 +01:00
hitch treewide: Switch to system users 2019-10-12 22:25:28 +02:00
jboss nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
lighttpd Merge staging-next into staging 2019-07-03 08:59:42 +02:00
nginx nixos/nginx: allow overriding fastcgi params 2021-01-05 03:36:18 +00:00
phpfpm nixos/phpfpm: remove unnecessary sendmail configuration 2020-10-02 09:11:14 +02:00
unit nixos/unit: update sandboxing options 2020-08-15 11:21:09 +03:00
varnish nixos/varnish: fix default package name 2019-11-13 16:39:45 +01:00
caddy.nix nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
darkhttpd.nix nixos/darkhttpd: fix package reference 2019-08-28 09:04:58 +08:00
fcgiwrap.nix fcgiwrap module: use enum 2016-11-04 13:04:52 +09:00
hydron.nix nixos/hydron: replace deprecated usage of PermissionsStartOnly 2019-05-25 08:38:15 -04:00
mighttpd2.nix nixos/mighttpd2: /var/run -> /run 2019-03-24 21:15:33 +01:00
minio.nix nixos/minio: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:56 -04:00
molly-brown.nix nixos/molly-brown: refactor module to use a TOML generator 2020-09-28 14:38:31 +02:00
shellinabox.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
tomcat.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
traefik.nix nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
ttyd.nix nixos/ttyd: init 2019-11-13 23:18:47 +00:00
uwsgi.nix uwsgi: make instance configuration deeply mergeable 2020-05-15 08:53:31 +01:00
zope2.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00