ngx_http_proxy_connect_module icon indicating copy to clipboard operation
ngx_http_proxy_connect_module copied to clipboard

Does this module support usecase where upstream are behind proxy.

Open sharma-abhishek opened this issue 5 years ago • 1 comments

Wanted to know if this module support or in-future going to support use-case where upstream servers are behind proxy?

Setup:

Client/Users -> NGINX -> Squid Proxy -> Upstream.

sharma-abhishek avatar Oct 20 '20 04:10 sharma-abhishek

The upstream being behind a reverse proxy makes no difference. Unless you're thinking of utilizing the PROXY protocol, in which case it doesn't make much sense to even use this module.

AndreiG6 avatar Oct 22 '20 13:10 AndreiG6

Out of date, if you still have same problem with latest version, you can open a new issue

chobits avatar Aug 18 '22 09:08 chobits

If you wanna CONNECT tunnel to connect your specified squid server, you can use this directive to specify proxied server: proxy_connect_address.

See its doc: https://github.com/chobits/ngx_http_proxy_connect_module#proxy_connect_address.

If your case is just proxy normal HTTP/HTTPS request , this module does not affect the nginx proxying logic

chobits avatar Aug 18 '22 09:08 chobits