Another auth/location question - probably very simple to fix :)
Igor Sysoev
is at rambler-co.ru
Sun Aug 17 20:28:45 MSD 2008
On Sun, Aug 17, 2008 at 05:55:34PM +0200, Mikel Arteta wrote:
> I'm trying to run the admin postfixadmin, I use nginx 0.6.32.
>
> With this:
>
> location ^~ /postfixadmin/admin {
> auth_basic "Restricted";
> auth_basic_user_file /usr/local/nginx/conf/htpasswd;
> location ~ \.php$ {
> fastcgi_pass unix:/dev/shm/php2.socket;}
> }
>
> After retracted the login / pass, I have this:
>
> The page you are looking for is temporarily unavailable.
> Please try again later.
>
> 2008/08/17 17:47:04 [error] 32735#0: *144 recv() failed (104: Connection
> reset by peer) while reading response header from upstream, client:
> 8.6.11.14, server: 212.3.20.6, request: "GET
> /postfixadmin/admin/index.php HTTP/1.1", upstream:
> "fastcgi://unix:/dev/shm/php2.socket:", host: "vigi.net"
>
> 2008/08/17 17:47:04 [error] 32735#0: *144 recv() failed (104: Connection
> reset by peer) while reading response header from upstream, client:
> 8.6.11.14, server: 212.3.20.6, request: "GET
> /postfixadmin/admin/index.php HTTP/1.1", upstream:
> "fastcgi://unix:/dev/shm/php2.socket:", host: "vigi.net"
This is some problem with backend. Try to use TCP.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list