Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect map hash bucket size #125

Closed
steveworley opened this issue Mar 18, 2021 · 0 comments · Fixed by #126
Closed

Redirect map hash bucket size #125

steveworley opened this issue Mar 18, 2021 · 0 comments · Fixed by #126

Comments

@steveworley
Copy link
Contributor

When adding a redirect map configuration nginx produces an error under certain circumstances based on the map_hash_bucket_size.

2021/03/18 04:36:09 [emerg] 155#155: could not build map_hash, you should increase map_hash_bucket_size: 64
nginx: [emerg] could not build map_hash, you should increase map_hash_bucket_size: 64

The sample configuration I used was:

$ cat /etc/nginx/redirects-map.conf
example.com/sites/default/files/old_file.pdf /search

If this is a regex match there is no problems.

~*example.com/sites/default/files/old_file.pdf /search

It would be nice to be able to control the bucket size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant