Sign inSign up

ladicle/docker-auth-proxy

By ladicle

Updated about 10 years ago

Basic authorization proxy used nginx

Image
0

367

ladicle/docker-auth-proxy repository overview

Docker basic authorization proxy

This dockerfile build basic authorization proxy used nginx.

Build

  1. Run the following command.
$ docker build -t nginx-auth-proxy .

Run

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-proxy

and then, you can access to localhost on browser.

Tag summary

Content type

Image

Digest

Size

19.3 MB

Last updated

about 10 years ago

docker pull ladicle/docker-auth-proxy