I've been trying something similar to this:
http://www.mail-archive.com/[email protected]/msg00293.html , but
I keep getting a 502 error.

This is my config:

    server {
        listen       8003;
        listen       isamu:8003;
        server_name  webpy.nginx;

        location / {
            root   /home/frank/var/webpy;
            index  index.html index.htm;

            #fastcgi_pass 127.0.0.1:9002;
            fastcgi_pass unix:/tmp/webpy.sock;
            include fastcgi_params;
            fastcgi_param SCRIPT_FILENAME /home/frank/var/webpy/
$fastcgi_script_name;  # [1]
            #fastcgi_param PATH_INFO /home/frank/var/webpy/
$fastcgi_script_name;        # [2]
        }
    }

And I get this in my error log:

2009/06/04 21:56:47 [error] 12686#0: *97 connect() failed (111:
Connection refused) while connecting to upstream, client:
192.168.1.125, server: webpy.nginx, request: "GET /main.py HTTP/1.1",
upstream: "fastcgi://127.0.0.1:9002", host: "isamu:8003"
2009/06/04 21:58:55 [error] 12694#0: *102 connect() to unix:/tmp/
webpy.sock failed (111: Connection refused) while connecting to
upstream, client: 192.168.1.125, server: webpy.nginx, request: "GET /
main.py HTTP/1.1", upstream: "fastcgi://unix:/tmp/webpy.sock:", host:
"isamu:8003"

Could someone help me with this?

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to