Upstreams:
- nginx:stable-alpine (due this has since long diverged)
- ngx_http_proxy_connect_module
I removed gpg sig verification for the sake of faster builds. Also most modules with external dependencies were removed.
For stable versions, use the tagged builds, eg, nginx-1.18.0-alpine-3.12.1
It's on Docker Hub; :latest
is from master and unstable.
docker run -it -p 8081:80 rpardini/nginx-proxy-connect-stable-alpine
- Just like
nginx:stable-alpine
, but you can useproxy_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
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.