If a project name is too long, the Nginx Proxy container refuses to start with the error:
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 64
I believe this is because the protected SSL domain is longer than the 63 character limit for SSL common names (CN).
To fix this, I propose the following:
Update the proxy container nginx config to set server_names_hash_bucket_size 64; to try and prevent this the proxy nginx instance from flipping out when it encounters this issue
Add an error when tok up is run that will advise the user their directory name is too long when it is > 44 characters.
If a project name is too long, the Nginx Proxy container refuses to start with the error:
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 64
I believe this is because the protected SSL domain is longer than the 63 character limit for SSL common names (CN).
To fix this, I propose the following:
server_names_hash_bucket_size 64;
to try and prevent this the proxy nginx instance from flipping out when it encounters this issuetok up
is run that will advise the user their directory name is too long when it is > 44 characters.