Hi Stephen,
I started an official Ubuntu AMI: ubuntu-images/ubuntu-lucid-10.04-
i386-server-20110201.1 (ami-2492ec76)
with Type: m1.small
Please let me know if I need to provide you with more input on the
machine.
And the root of my problem is since I don't have any domain name, I
used EC2 public DNS provided by Amazon
But their Public DNS has the form of ec2-XX-XX-XX-XX.ap-
southeast-1.compute.amazonaws.com(XX-XX-XX-XX is the public IP)
and then I got the following error:
"Starting nginx: [emerg]: could not build the server_names_hash, you
should increase server_names_hash_bucket_size: 64"
And this DNS name was too long to hash with even 64bit so had to
increase it to 128bit.
There is a small bug in the system that although I changed the bucket
size to 64 (that was still not enough), nginx still gave me the same
error and it made me confused and try to debug in the wrong direction.
Question:
=======
Is it possible to open a bug in nginx to indicate to the user the
correct number that have to be assign to nginx, or calculate it
itself?
==================================================================================================