I have 1M static rewrite rules and using this map configuration. How to determine the optimal values for map_hash_max_size
and map_hash_bucket_size
? I want to optimize for memory consumption. The documentation is very minimal about this.
Somebody else asked it on the Nginx forum, but without response.