Sign inSign up

joc98/nginx-proxy-connect-stable-alpine

By joc98

•Updated about 7 years ago

Image
0

211

joc98/nginx-proxy-connect-stable-alpine repository overview

⁠nginx:stable-alpine + proxy_connect

Upstreams:

I removed gpg sig verification for the sake of faster builds.

⁠Usage

It's on Docker Hub⁠; :latest is from master.

docker run -it -p 8081:80 rpardini/nginx-proxy-connect-stable-alpine
  • Just like nginx:stable-alpine, but you can use proxy_connect;.
  • Also proxy_connect_address $someVar; is supported; this has the "rewrite" version of the patch
  • you can map on $connect_host
  • log $connect_addr for host:port of the final destination

⁠Why?

I wanted a more contained way of doing DNS overrides.

If you can convince a client program to use an https proxy, and inject your own CA certificate as trusted, you can use proxy_connect to send traffic to a second nginx server and do caching, filtering, rewriting, and who knows what else there.

Tag summary

Content type

Image

Digest

Size

7.5 MB

Last updated

about 7 years ago

docker pull joc98/nginx-proxy-connect-stable-alpine