HUB
Sign inSign up

congtaojiang/nginx-forward-proxy

By congtaojiang

•Updated over 5 years ago

Image
0

160

congtaojiang/nginx-forward-proxy repository overview

⁠Nginx Forward Proxy

⁠Usage

⁠Terminal 1
docker run -it --rm -p 8888:8888 -p 8443:8443 nginx-fwdproxy

or

docker-compose -f docker-compose-nginx-forward-proxy.yaml up
⁠Terminal 2
# client http proxy to issue http request
curl -L -x http://localhost:8888 http://httpbin.org/get

# client http proxy to issue https request
curl -L -x http://localhost:8888 https://httpbin.org/get

# client https proxy to issue http request
curl -L --proxy-insecure -x https://localhost:8443 http://httpbin.org/get

# client https proxy to issue https request
curl -L --proxy-insecure -x https://localhost:8443 https://httpbin.org/get

Tag summary

Content type

Image

Digest

Size

8.7 MB

Last updated

over 5 years ago

docker pull congtaojiang/nginx-forward-proxy