mirror of
https://github.com/caddyserver/caddy.git
synced 2026-08-04 06:53:36 +00:00
Introduce limits middleware
1. Replace original `maxrequestbody` directive. 2. Add request header limit. fix issue #1587 Signed-off-by: Tw <tw19881113@gmail.com>
This commit is contained in:
parent
90efff68e5
commit
ae645ef2e9
11 changed files with 363 additions and 143 deletions
|
|
@ -436,7 +436,7 @@ var directives = []string{
|
|||
"root",
|
||||
"index",
|
||||
"bind",
|
||||
"maxrequestbody", // TODO: 'limits'
|
||||
"limits",
|
||||
"timeouts",
|
||||
"tls",
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue