nixpkgs/nixos/modules/services/web-servers
Vincent Bernat 7c451c3b6b
nginx: increase types_hash_max_size to 4096 (#83609)
After upgrading to NixOS 20.03, I've got the following warning:

    nginx: [warn] could not build optimal types_hash, you should increase either types_hash_max_size: 2048 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size

The documentation states that "if nginx emits the message requesting
to increase either hash max size or hash bucket size then the first
parameter should first be increased" (aka types_hash_max_size).

In 19.03, the size of mime.types was around 100 entries. In 20.03, we
are around 900 entries. This is due to ff0148d868 which makes nginx
use mailcap mime.types.
2020-03-28 20:40:44 +01:00
..
apache-httpd nixos/httpd: add http2 option 2020-02-01 19:08:02 -05:00
hitch treewide: Switch to system users 2019-10-12 22:25:28 +02:00
jboss JBoss AS: list known vulnerability 2017-03-13 18:45:19 +01:00
lighttpd Merge staging-next into staging 2019-07-03 08:59:42 +02:00
nginx nginx: increase types_hash_max_size to 4096 (#83609) 2020-03-28 20:40:44 +01:00
phpfpm nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
unit nixos/unit: fix attrs 2020-01-23 20:40:49 +03:00
varnish nixos/varnish: fix default package name 2019-11-13 16:39:45 +01:00
caddy.nix nixos/caddy: resync with upstream unit file 2020-01-23 14:08:37 +01: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
meguca.nix nixos/meguca: Add videoPaths, set postgresql version to 11 2019-03-23 01:19:29 -05: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
shellinabox.nix shellinabox service: intial implementation 2015-07-04 21:18:13 +12:00
tomcat.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
traefik.nix treewide: Switch to system users 2019-10-12 22:25:28 +02:00
ttyd.nix nixos/ttyd: init 2019-11-13 23:18:47 +00:00
uwsgi.nix uwsgi: use pyhome instead of pythonpath for uwsgi vassals 2020-03-04 20:20:32 +01:00
zope2.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00