Rate limiting and SMTP proxy
Maxim Dounin
mdounin at mdounin.ru
Thu Jan 19 13:12:37 UTC 2017
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/
More information about the nginx
mailing list