Please someone help me with the same issue..
http://stackoverflow.com/questions/39574238/mongo-express-get-request-issue-with-nginx-proxy
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,244100,269687#msg-269687
___
nginx mailing list
nginx@n
Nevermind, solved. I was looking at my httpd.conf instead of nginx.conf and
then was able to fix from there.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,244100,244103#msg-244103
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.o
sorry, copy/paste error: I have this:
#proxy_pass http://localhost:2345/;
#proxy_pass_reverse http://localhost:2345/;
location /nodejs {
proxy_pass http://localhost:2345/;
proxy_pass_reverse http://localhost:2345/;
}
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,244100,244102
On 25 Oct 2013 10:47, "youreright" wrote:
>
> nginx is working, but, when doing proxy_pass, gives me: Cannot GET /nodejs
>
> here are the lines I've added to nginx.conf
>
> ProxyPass nodejs localhost:2345
> ProxyPassReverse nodejs localhost:2345
You need to read the documentation, as those aren't
nginx is working, but, when doing proxy_pass, gives me: Cannot GET /nodejs
here are the lines I've added to nginx.conf
ProxyPass nodejs localhost:2345
ProxyPassReverse nodejs localhost:2345
2345 is where my node server is listening
I'm pointing chrome browser here:
http://localhost/nodejs