nginx imaps auth_http cyrus
Maxim Dounin
mdounin at mdounin.ru
Mon May 2 22:53:27 MSD 2011
Hello!
On Mon, May 02, 2011 at 01:15:08AM -0400, moorthi wrote:
> auth_http script and other setttings are done correctly,
> this is what i am getting in error.log
> upstream timed out (111: Connection timed out) while connecting to
> upstream
I believe this is clear enough: nginx wasn't able to connect to
upstream (backend) server. Check backend server and port returned
by auth_http script.
> it's saying +OK for user <username> in connect
> but after entering pass <password> it's giving above error.
After PASS command nginx will try to authenticate client with
auth_http script and then connect to upstream (backend) server.
As soon as connection to upstream times out - nginx should return
"-ERR internal server error" in reply to PASS command (if client
is still here).
Maxim Dounin
More information about the nginx
mailing list