snikket-im / snikket-web-proxy

Apache License 2.0
6 stars 7 forks source link

Fix nginx not configuring on some domains #1

Closed horazont closed 3 years ago

horazont commented 3 years ago

This fixes the following error:

nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32

It occurs while reloading nginx after updating the certificates if your domain name is strange enough I suppose. This causes nginx to be stuck in "snikket is starting up" mode, because it cannot reload its config. When restarting the container, it would probably crash completely.

See-Also: https://stackoverflow.com/a/13906493/1248008