pylons/lighttpd-deployment

15y, 151d ago [edited]

This is the bare minimum config file required to run pylons under Lighttpd - assuming you are running the paster web server. Drop this into /etc/lighttpd/sites-enabled/ and make sure it ends with ".conf"

$HTTP["host"] =~ "(^|www\.)my-pylowiki-site\.com$" {
    server.document-root = "/dev/null"

    # proxy to pylowiki's paster process on port 5000
    proxy.server = (
        "" => (
            ( "host" => "127.0.0.1", "port" => 5000, )
        )
    )
}

Comments

We'll email a 6-digit code to verify your comment and notify you of replies.

hide preview ▲show preview ▼
foxhop 15y, 151d ago

Thank you very much chooper <http://www.foxhop.net/account/chooper>_ ! This could be very useful for somebody in the future

We'll email a 6-digit code to verify your comment and notify you of replies.

hide preview ▲show preview ▼