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

Increasing server names hash size #2

Open
stuartpb opened this issue Jul 29, 2014 · 0 comments
Open

Increasing server names hash size #2

stuartpb opened this issue Jul 29, 2014 · 0 comments

Comments

@stuartpb
Copy link
Member

Dokku has a line that effectively does this:

echo "server_names_hash_bucket_size 64;" \
  > "$PLUSHU_ROOT/nginx.conf.d/name-hash-size.conf"

http://nginx.org/en/docs/http/server_names.html describes why you would want to increase the server_names_hash_bucket_size or server_names_hash_max_size. However, server_names_hash_bucket_size is supposed to based on properties of the CPU by default (and it could even be set to 128, from what I can read of the documentation), and would only need to be expanded in certain configurations.

As such, I think this change should best be left as an option for installations to opt into manually on a case-by-case basis.

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

No branches or pull requests

1 participant