Hello,

Referring to the thread [1], I'm a bit lost.

My current setup in cherokee is as follows:

file /web2py/config.xml

<uwsgi>
    <pythonpath>/home/web2py/</pythonpath>
    <module>wsgihandler</module>
    <socket>/tmp/web2py.sock</socket>
    <master/>
    <processes>15</processes>
    <socket-timeout>45</socket-timeout>
    <post-buffering>4096</post-buffering>
    <max-requests>1000</max-requests>
    <logto>/tmp/uwsgi.log</logto>
</uwsgi>

Cherokee setting:

Information Sources
• Type: Local Interpreter
• Nick: web2py-uwsgi
• Connection: /tmp/web2py.sock
• Interpereter: /usr/local/bin/uwsgi -L -T -C -x /home/web2py/
config.xml

Then use this in my virtual server.

My OS is FreeBSD 8.2.
I have run nginx (spawn-fcgi + php). I have also installed
uwsgi-0.9.6.8

In nginx.conf only enable support for PHP. The rest is with the
original configuration.

The question is how to use the config.xml file in nginx

Thank.
Jose

[1] http://groups.google.com/group/web2py/browse_thread/thread/6a34283f6025f70c

Reply via email to