I created a elasticsearch/config.jinja2 to handle that for you