Nginx conf 502 on reverse proxy location

my http conf is at http://p.ngx.cc/2018

currently getting me a 502 when I hit my_server.com/oauth/

Any idea what I’m doing wrong?

thanks

Try
location /oauth {

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,258776,258778#msg-258778

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs