pixie
pixie copied to clipboard
Increase the default server names length in nginx config file
It's going to increase the default server names length in the nginx config to avoid the following error:
[emerg] 8#8: 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
That will allow people with very long domain names (e.g. very.very.long.domain.name.used.in.this.example.org) to make it work out of the box without having to mount the nginx.conf file in the pod.
Issue #590 And slack discussion: https://pixie-community.slack.com/archives/CQ63KEVFY/p1663087667528489
Reference to change this value:
- https://sleeplessbeastie.eu/2019/11/18/how-to-increase-the-default-number-of-maximum-server-names-and-their-length-when-using-nginx/
- https://gist.github.com/muhammadghazali/6c2b8c80d5528e3118613746e0041263
Can one of the admins verify this patch?
ok to test
ok to test