Skip to content

Instantly share code, notes, and snippets.

View nerones's full-sized avatar

Nelson Efrain A. Cruz nerones

View GitHub Profile
@nerones
nerones / nginx-elasticsearch-proxy.conf
Created May 24, 2017 14:12 — forked from abrudtkuhl/nginx-elasticsearch-proxy.conf
NGINX Reverse Proxy Authentication For Elasticsearch
# Run me with:
#
# $ nginx -p /path/to/this/file/ -c nginx.conf
#
# All requests are then routed to authenticated user's index, so
#
# GET http://user:password@localhost/_search?q=*
#
# is rewritten to:
#