Nginx Catch-All Host.. issue

Discussion in 'Installation/Configuration' started by demon326, Feb 7, 2011.

  1. demon326

    demon326 New Member

    After a few try i got the tutorial, http://www.howtoforge.com/nginx-cat...end-to-apache-for-ispconfig-3-on-debian-lenny working(using ubuntu server 10.10), but when i go to the domain, its just gives a 302 bad request.

    error logs says this:
    Code:
    
    2011/02/07 14:39:35 [error] 1948#0: *1 connect() failed (111: Connection refused               ) while connecting to upstream, client: 192.168.231.1, server: _, request: "GET                / HTTP/1.1", upstream: "http://127.0.0.1:80/", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 open() "/var/www/ashladan.net/web/favicon               .ico" failed (2: No such file or directory), client: 192.168.231.1, server: _, r               equest: "GET /favicon.ico HTTP/1.1", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 connect() failed (111: Connection refused               ) while connecting to upstream, client: 192.168.231.1, server: _, request: "GET                / HTTP/1.1", upstream: "http://127.0.0.1:80/", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 open() "/var/www/ashladan.net/web/favicon               .ico" failed (2: No such file or directory), client: 192.168.231.1, server: _, r               equest: "GET /favicon.ico HTTP/1.1", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 connect() failed (111: Connection refused               ) while connecting to upstream, client: 192.168.231.1, server: _, request: "GET                / HTTP/1.1", upstream: "http://127.0.0.1:80/", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 open() "/var/www/ashladan.net/web/favicon               .ico" failed (2: No such file or directory), client: 192.168.231.1, server: _, r               equest: "GET /favicon.ico HTTP/1.1", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 connect() failed (111: Connection refused               ) while connecting to upstream, client: 192.168.231.1, server: _, request: "GET                / HTTP/1.1", upstream: "http://127.0.0.1:80/", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 open() "/var/www/ashladan.net/web/favicon               .ico" failed (2: No such file or directory), client: 192.168.231.1, server: _, r               equest: "GET /favicon.ico HTTP/1.1", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 connect() failed (111: Connection refused               ) while connecting to upstream, client: 192.168.231.1, server: _, request: "GET                / HTTP/1.1", upstream: "http://127.0.0.1:80/", host: "ashladan.net"
    2011/02/07 14:39:35 [error] 1948#0: *1 open() "/var/www/ashladan.net/web/favicon               .ico" failed (2: No such file or directory), client: 192.168.231.1, server: _, r               equest: "GET /favicon.ico HTTP/1.1", host: "ashladan.net"
    
    Please not that this domain can't be accesed from the internet, it's just running on my VM machine to learn;)

    Also ispconfig 3 reports that the webserver ain't running, but thats likley because Ngnix is the front end...
     

Share This Page