[Cppcms-users] How do I start the example hello service to respond to nginx?
Brought to you by:
artyom-beilis
|
From: Richard C. <ric...@gm...> - 2011-10-03 21:16:38
|
In the docs, it says the service should be started independently. How should I start the hello_world service by:
./hello -c config.js
or
cppcms_run -S nginx -p 80 hello -c config.js
Richard
Referencing docs at:
And the usual CppCMS's config:
{
"service" : {
"api" : "fastcgi",
"socket" : "/tmp/hello-fcgi-socket"
}
}
Of course the CppCMS's service should be started independently. |