Welcome! Log In Create A New Profile

Advanced

Re: Rate limiting and SMTP proxy

Maxim Dounin
January 19, 2017 08:38AM
Hello!

On Wed, Jan 18, 2017 at 05:42:04PM -0500, powellchristoph wrote:

> Hello,
>
> I was wondering if someone could clarify if the 'ngx_http_limit_req_module'
> would rate limit an smtp proxy. The rate-limiting module says that you can
> use the 'limit_req' within a server context. Would I be able to use it
> within the server context of a mail block? But the 'limit_req_zone' can only
> be declared within an http context.

The ngx_http_limit_req_module is a HTTP module, you can't use it
in the mail module.

On the other hand, you can use it to limit requests to auth_http
script, providing essentially the same functionality.

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Rate limiting and SMTP proxy

powellchristoph January 18, 2017 05:42PM

Re: Rate limiting and SMTP proxy

Maxim Dounin January 19, 2017 08:38AM

Re: Rate limiting and SMTP proxy

powellchristoph January 19, 2017 09:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready