mail proxy auth_http stats

Maxim Dounin mdounin at mdounin.ru
Thu Oct 28 13:20:24 MSD 2010


Hello!

On Thu, Oct 28, 2010 at 02:29:02PM +0530, Naresh V wrote:

> Hi,
> 
> Thanks for the explanation - that helped.
> 
> Another quick question: supposing I want to scale up my auth_http
> server, what would you recommend? Is the embedded-perl redirector good
> enough?

I usually use proxy_pass to cluster of auth backends in the same 
nginx as mail proxy, i.e. something like

mail {
    auth_http 127.0.0.1/auth;
    ...
}

http {
    upstream auth_backends {
        server ...
        server ...
    }

    server {
        listen 127.0.0.1:80;

        location = /auth {
            proxy_pass http://auth_backends;
        }
    }
}

Maxim Dounin

p.s. Please do not top-post.  Thank you.



More information about the nginx mailing list