Configuring and debugging anonmyous access to Elasticsearch

It's working fine now. Was some nginx configuration issue mixed with other things.

Thanks for the help.