Allow for test_types_buffer_size to be set in server configuration
|Reported by:||Owned by:|
|uname -a:||Linux ffswebserver 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64 GNU/Linux|
|nginx -V:||build by gcc 4.9.2 (Debian 4.9.2-10+deb8u1)|
As I added a bunch of MIME types to gzip_types in my server block, nginx -t returned I need to increase test_types_hash_bucket_size.
Appearently I can do this in the config for types_hash_bucket_size, but not for test_types_has_bucket_size. This is currently hardcoded.
Could we add the option to configure this setting throught the config file? It might also be relevant to do the same for other test_ settings. My current configuration doenst seem very unusual to me, so I can image more people encounter this limitation after adding some MIME types.