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

Using public EC2 name for manage + API exceeds nginx hash bucket size #743

Closed
jamesc opened this issue Feb 17, 2016 · 0 comments
Closed
Assignees
Labels
Type: Bug Does not work as expected.

Comments

@jamesc
Copy link

jamesc commented Feb 17, 2016

If you use a public EC2 name e.g. ec2-52-36-198-136.us-west-2.compute.amazonaws.com for the fqdn_api in chef-server.rb and the fqdn in manage.rb then nginx won't start and shows in the logs:

2016-02-17_13:29:17.97029 nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 64

This already was patched in chef-analytics with an insightful comment added at https://github.com/chef/chef-analytics/blob/master/omnibus/files/cookbooks/opscode-analytics/templates/default/nginx/analytics.conf.erb#L24-L27.

We should do the needful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

3 participants