A way to increase the hash_map size
When working with a map to redirect certain URLs the map size might not be sufficient. In nginx you can use maphashbucket_size to increase the size. This command can only occur once in the nginx configuration. Since this is already used in a part of the configuration which we can't edit, we don't have the ability to increase the size to suit our needs.
By allowing an increased size we'll be able to use our maps as we do on other nginx servers.
-
We doubled the hash_bucket_size to 128. As setting this value too high can cause a huge performance impact, we decided to enlarge it without giving the option to manually adjust it yourself.
https://support.hypernode.com/changelog/release-3331-increased-server_names_hash_bucket_size/