how to custom nginx as a forward proxy

edwin nginx-forum at
Mon Mar 26 02:17:46 UTC 2012

as I know squid can be use a proxy server , but currently I don't want
to use it , but want to use nginx ,I google "forward proxy " , and get
some idea :
server {
 listen 8080;
  location / {
  proxy_pass http://$http_host$request_uri;

but when I add the context to nginx.conf , and reload nginx 

view the website such as get no response ,so can guys help me

Posted at Nginx Forum:,224378,224378#msg-224378

More information about the nginx mailing list