meshchaninov/http-proxy

By meshchaninov

Updated over 1 year ago

A http proxy server, written in Go and wrapped into docker with minimal image size

Image
Security
Developer tools
Web servers
0

74

meshchaninov/http-proxy repository overview

http-proxy

Simple http server using goproxy with or without auth.

Start container with proxy

docker run -d --name http-proxy -p <PROXY_PORT>:80 -e PROXY_USER=<PROXY_USER> -e PROXY_PASS=<PROXY_PASSWORD> meshchaninov/http-proxy
  • For auth-less mode just do not pass PROXY_USER and PROXY_PASS.
  • Change PROXY_PORT for custom proxy port

Test running service

with auth
curl --proxy http://<PROXY_USER>:<PROXY_PASS>@<DOCKER_MACHINE_IP>:<PROXY_PORT> https://ya.ru 
without auth
curl --proxy http://<DOCKER_MACHINE_IP>:<PROXY_PORT> https://ya.ru 

result must show docker host ip (for bridged network)

Tag summary

Content type

Image

Digest

sha256:40b13c914

Size

2.5 MB

Last updated

over 1 year ago

docker pull meshchaninov/http-proxy:v1.0