summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/web-servers/nginx/location-options.nix
AgeCommit message (Collapse)Author
2021-01-31nginx module: fix typo in proxyWebsockets descriptionLuflosi
2021-01-05nixos/nginx: allow overriding fastcgi paramsAlyssa Ross
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.
2020-11-02nginx: add a warning that nginx's basic auth isn't very good.Graham Christensen
2020-11-02nginx: add basic auth support for locationsGraham Christensen
2019-12-19nixos/nginx: drop extra semicolon in return example (#76055)brprice
2019-11-03nixos/nginx: update commentBenjamin Hipple
It says Apache, but this is for Nginx; looks like a copy-paste error.
2019-03-13nixos/nginx: add return option to locationArtemis Tosini
2018-10-01nixos/nextcloud: initFranz Pletz
Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de> Co-authored-by: Robin Gloster <mail@glob.in> Co-authored-by: Janne Heß <janne@hess.ooo> Co-authored-by: Florian Klink <flokli@flokli.de>
2017-08-30nginx module: add option for proxying websocket requestsFranz Pletz
2017-08-30nginx module: fix applying recommended proxy headersFranz Pletz
Previously, if proxy_set_header would be used in an extraConfig of a location, the headers defined in the http block by recommendedProxySettings would be cleared. As this is not the intended behaviour, these settings are now included from a separate file if needed.
2017-03-09nginx: Add alias configuration option for hosts and locations.Evan Danaher
It's like root, but doesn't keep the prefix.
2016-08-25nginx module: add index and tryFilesRobin Gloster
2016-08-01nginx module: fix evaluation of root location optionFranz Pletz
2016-07-28nginx module: Add extraConfig for locationsFranz Pletz
2016-07-28nginx module: declarative configRobin Gloster