Another auth/location question - probably very simple to fix :)
Mikel Arteta
lists at ruby-forum.com
Sun Aug 17 20:53:45 MSD 2008
> This is some problem with backend. Try to use TCP.
I have the same result:
location /postfixadmin/admin {
auth_basic "Restricted";
auth_basic_user_file /usr/local/nginx/conf/htpasswd;
location ~ \.php$ {
fastcgi_pass localhost:9000;
fastcgi_param SCRIPT_FILENAME
/data/www/postfixadmin/admin$fastcgi_script_name;}}
2008/08/17 18:57:56 [error] 2351#0: *13 recv() failed (104: Connection
reset by peer) while reading response header from upstream, client:
8.7.11.04, server: 22.4.22.6, request: "GET /postfixadmin/admin/
HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "vigi.net"
2008/08/17 18:57:57 [error] 2351#0: *13 recv() failed (104: Connection
reset by peer) while reading response header from upstream, client:
8.7.11.14, server: 22.3.20.6, request: "GET /postfixadmin/admin/
HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "vigi.net"
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list