req limit
This commit is contained in:
@@ -69,6 +69,9 @@ http {
|
||||
lua_package_path "/usr/local/lib/lua/?.lua;;";
|
||||
%DNSBL_CACHE%
|
||||
|
||||
# shared memory zone for limit_req
|
||||
%LIMIT_REQ_ZONE%
|
||||
|
||||
# server config
|
||||
include /etc/nginx/server.conf;
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ server {
|
||||
{
|
||||
return 405;
|
||||
}
|
||||
%LIMIT_REQ%
|
||||
%DNSBL%
|
||||
%AUTH_BASIC%
|
||||
%USE_PHP%
|
||||
|
||||
Reference in New Issue
Block a user