I want the ES to be available remotely, hence I decided to use the NGINX reverse proxy approach. However, on doing so, I encounter the following problem (check screenshot).
It says {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [elasticsearch]","resource.type":"index_or_alias","resource.id":"elasticsearch","index_uuid":"_na_","index":"elasticsearch"}],"type":"index_not_found_exception","reason":"no such index [elasticsearch]","resource.type":"index_or_alias","resource.id":"elasticsearch","index_uuid":"_na_","index":"elasticsearch"},"status":404}
The same is accessible via. curl.
NGINX Conf: