There is a web server nginx
and an HTTP proxy server 3proxy
. Is it possible to use nginx as a frontend for an HTTP proxy?
If the browser requests methods GET
, POST
, HEAD
, PUT
, DELETE
and other site-specified, then nginx works as a web server and processes the requests itself. If the browser requests the method CONNECT
and any other proxy-specified, then nginx directly redirects the request to the HTTP-proxy server. Is it possible to set it up like this?
Gleb Grebenchikov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.