This dockerfile build basic authorization proxy used nginx.
$ docker build -t nginx-auth-proxy .
Assumption
kibana running on host: kibana and listen port is 5601.
elasticsearch running on host: elasticsearch and listen port is 9200.
If you want to proxy from nginx to kibana, you run the following command.
$ docker run -d -p 5602:5602 -p 9201:9201 \
-e USERNAME=admin \
-e PASSWORD=admin \
-e PROXY=kibana:5601,5602;elasticsearch:9200,9201 \
nginx-auth-proxy
and then, you can access to localhost:5602 or localhost:9201 on browser.
Content type
Image
Digest
Size
59 MB
Last updated
almost 9 years ago
docker pull napat1412/docker-auth-proxy:websocket