Another auth/location question - probably very simple to fix :)

Igor Sysoev is at rambler-co.ru
Sun Aug 17 22:23:12 MSD 2008


On Sun, Aug 17, 2008 at 08:17:09PM +0200, Mikel Arteta wrote:

> Igor Sysoev wrote:
> > BTW, what is "avec" - in/with ?
> Du francais :) avec<=>with
> 
> Well, with the path that goes well, but I always have the error php-fpm.
> 
> location ^~   /postfixadmin/admin/  {
>     auth_basic            "Restricted";
>     auth_basic_user_file  /usr/local/nginx/conf/htpasswd;
>     location ~ \.php$ {
>    fastcgi_pass   unix:/dev/shm/php2.socket;}}
> 
> The page you are looking for is temporarily unavailable.
> Please try again later.
> 
> 2008/08/17 20:17:56 [error] 9456#0: *66 recv() failed (104: Connection 
> reset by peer) while reading response header from upstream, client: 
> 82.6.11.104, server: 21.4.22.6, request: "GET 
> /postfixadmin/admin/list-admin.php HTTP/1.1", upstream: 
> "fastcgi://unix:/dev/shm/php2.socket:", host: "vigi.net"
> 
> 2008/08/17 20:17:56 [error] 9456#0: *66 recv() failed (104: Connection 
> reset by peer) while reading response header from upstream, client: 
> 8.7.111.14, server: 21.4.20.6, request: "GET 
> /postfixadmin/admin/list-admin.php HTTP/1.1", upstream: 
> "fastcgi://unix:/dev/shm/php2.socket:", host: "vigi.net"
> 
> I not understand this error php-fpm.

This is backend error and probably php-fpm related, try to ask in
http://groups.google.com/group/highload-php-en


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list