Public | Automated Build

Last pushed: 2 years ago
Short Description
A simple proxy that will ask for a username and password before passing through to a supplied url.
Full Description

nginx Password Proxy

A simple proxy using nginx that will ask for a username and password before passing through to a supplied address.

Building the Container

Checkout the code and build as normal:

> docker build -t collinsongroup/nginxpasswordproxy .

Running the Container

The container accepts environment variables to controls it's behavior:

Variable Usage Default
PASSTHRU_DESTINATION URL to passthrough to http://localhost:8080
PASSTHRU_USERNAME Username for the passthrough guest
PASSTHRU_PASSWORD Password for the passthrough user guest

These can be passed in to the Docker run command:

> docker run -d -e PASSTHRU_DESTINATION=http://my.new.service:9090 collinsongroup/nginxpasswordproxy
Docker Pull Command
Owner
collinsongroup