From b2aed643f411f9f9d81e0fac273818a585c0264a Mon Sep 17 00:00:00 2001 From: xuqingfeng Date: Sat, 23 Jul 2016 10:50:07 +0800 Subject: [PATCH] Register ratelimit --- caddyhttp/httpserver/plugin.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index 151e04f8..11d28856 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -348,9 +348,10 @@ var directives = []string{ "gzip", "locale", // github.com/simia-tech/caddy-locale "errors", - "minify", // github.com/hacdias/caddy-minify - "ipfilter", // github.com/pyed/ipfilter - "search", // github.com/pedronasser/caddy-search + "minify", // github.com/hacdias/caddy-minify + "ipfilter", // github.com/pyed/ipfilter + "ratelimit", // github.com/xuqingfeng/caddy-rate-limit + "search", // github.com/pedronasser/caddy-search "header", "redir", "cors", // github.com/captncraig/cors/caddy