Sign inSign up

mkodockx/docker-proxy

By mkodockx

•Updated over 9 years ago

Simple proxy to setup anywhere necessary with simple authentication.

Image
0

1.0K

mkodockx/docker-proxy repository overview

⁠Docker-Proxy

Fast and simple proxy with authentication

⁠Quickstart

⁠1

  docker run -d -p 8080:80 mko-x/docker-proxy

⁠2

Connect the client with the proxy e.g. on localhost to http://localhost:8080⁠

⁠3

Default user: jerk Default pass: jerk

⁠Change Auth

⁠Clone/Fork etc.

Just change the htpasswd.sample files contents to fit your needs.

⁠Recreate

	htpasswd -c -b htpasswd.sample user pass

⁠Add user

	htpasswd -b htpasswd.sample user pass

⁠Running container

⁠Recreate

This will delete exisitng users and add a new one.

  docker exec your_container_name htpasswd -c -b /etc/apache2/htpasswd user pass
⁠Add user

This will keep exisitng users and add a new one.

  docker exec your_container_name htpasswd  -b /etc/apache2/htpasswd user pass

Tag summary

Content type

Image

Digest

Size

5.4 MB

Last updated

over 9 years ago

docker pull mkodockx/docker-proxy