[Cppcms-users] Hello_world with Nginx 502 Bad Gateway
Brought to you by:
artyom-beilis
From: Richard C. <ric...@gm...> - 2011-10-03 16:58:08
|
I'm trying to run the hello_world example with Nginx. It looks like everything is working right, but when I go to http://localhost/hello.fcgi it tells me "502 Bad Gateway" Richard-Catlins-MacBook-Pro:hello_world richardcatlin$ sudo /usr/local/bin/cppcms_run -S nginx -p 80 -h 127.0.0.1 hello.fcgi -c config.js Password: Web Server Host:127.0.0.1 Web Server Port:80 Document Root:/Users/richardcatlin/C++Projects/cppcms/examples/hello_world Script:/hello.fcgi Api:fastcgi Socket:/tmp/hello-fcgi-socket Server:/usr/local/nginx/sbin/nginx -c /Users/richardcatlin/C++Projects/cppcms/examples/hello_world/cppcms_rundir/cppcms-nginx.conf Starting Application Server:/hello.fcgi Application Server PID:343 Starting Web Server Web Server PID:345 ------------------------------------ - Press Any Key To Stop The Server - ------------------------------------ |