Fix Elasticsearch config