This dockerfile build basic authorization proxy used nginx.
- Run the following command.
$ docker build -t nginx-auth-proxy .Assumption
kibana running on docker and listen port is 5601.
If you want to proxy from nginx to kibana, you run the following command.
$ docker run -dp 80:80 \
--link=kibana:kibanaalias
-e USERNAME=hoge \
-e PASSWORD=age \
-e ADDRESS=kibana:5601 \
nginx-auth-proxyand then, you can access to localhost on browser.