Edit:
proxy_pass should be put inside a location block.

Example:
location / {
    proxy_pass http://10.0.2.2;
}

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,277698,277735#msg-277735

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to