Modified nginx to act as a proxy for ElasticSearch