CONNECT option

Author: QuAzICreated Sep 14, 2026Updated Sep 14, 2026

Is there any way to enable ngx_http_proxy_connect_module or allow $request_method = CONNECT ? At the moment I am trying to setup squid on back of nginx-proxy and all my attempts are failing apart

HTTP/1.1 405 Not Allowed

I just need https proxy for self. Schema I would like is

Client → nginx-proxy → web-apps and squid
               ↓
         acme-companion/certs

On my VPS each app has his own subdomain. So I have only one front - nginx-proxy. Only 443 port allowed. Only legitimate HTTPS/TLS traffic allowed. Active probing shouldn't expose extra services for people from wide web.

So I hope to cover squid by TLS, standard port and basic auth... but nothing works.