Another auth/location question - probably very simple to fix :)
Igor Sysoev
is at rambler-co.ru
Sun Aug 17 21:02:08 MSD 2008
On Sun, Aug 17, 2008 at 06:53:45PM +0200, Mikel Arteta wrote:
> > 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"
Something wrong with backend: for some reason it resets connection instead
of response.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list