Your configuration appears very strange at first glance: you are using some
proxy_* directives while issuing a uwsgi_pass.
Try cleaning it up by removing extra directive on first hand and try to
make it workd with the most minimalist configuration possible.
Anyhow, check your backend listens on the 127.0.0.1 interface, and on port
8001. You can set up a tcpdump utility making the gateway between front and
back ends to check the connection proceeds the way you expect it does.
---
*B. R.*
On Sun, May 10, 2015 at 9:01 AM, itpp2012 <nginx-forum@nginx.us> wrote:
> Try
> location /oauth {
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,258776,258778#msg-258778
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx