Pylons is pretty simple..

Edit project ini file (development.ini by default) and change [server:main] to:

use = egg:Flup#fcgi_thread
host =
port = 8080

If you don’t have flup then install it with easy_install flup

Your virtual host config will look like this.

server {
        server_name domain.tld;

        location / {
                # host and port to fastcgi server
                include fastcgi_params;
                fastcgi_pass_header Authorization;
                fastcgi_intercept_errors off;