Does someone know how to deploy web.py with Nginx? I once tried
mod_wsgi, but I couldn't compile Nginx because the module was too old.
So I would like to know how to do this with Fastcgi.

I use FCGI with Flup and an on-disk socket. My nginx configuration is similar to:

server {
    server_name                     www.gothcandy.com gothcandy.com;
    listen                          80;

access_log /home/amcgregor/var/log/gothcandy- access.log combined; error_log /home/amcgregor/var/log/gothcandy- error.log error;

    include                         core/defaults.conf;

    location / {
root /home/amcgregor/app/site/src/ gothcandy/public;

        include                     core/fcgi.conf;
fastcgi_param SCRIPT_NAME "";

        if ( -e $request_filename ) {
            break;
        }

fastcgi_pass unix:/home/amcgregor/var/run/ cms.sock;
    }
}

        — Alice.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to