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

Nginx, increase server_names_hash_bucket_size #1414

Open
bwbroersma opened this issue May 15, 2024 · 0 comments
Open

Nginx, increase server_names_hash_bucket_size #1414

bwbroersma opened this issue May 15, 2024 · 0 comments
Assignees

Comments

@bwbroersma
Copy link
Collaborator

During deployment of the production to v1.8.6 this was encounted:

WARN[0000] config `uid`, `gid` and `mode` are not supported, they will be ignored 

Which resulted in:

container internetnl-prod-webserver-1 is unhealthy

The underlying problem was:

/docker-entrypoint.sh: Configuration complete; ready for start up
2024/05/15 11:42:25 [emerg] 1#1: could not build server_names_hash, you should increase server_names_hash_bucket_size: 64
nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 64

Which was the result of adding 4 extra domains to the REDIRECT_DOMAINS.

Solution will be adding

http {
    server_names_hash_bucket_size: 64;
}

to the nginx template.

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

No branches or pull requests

1 participant