Add limit-request-status-code option (#2001)
* Add support for limit_req_status * Add documentation * Fix comment
This commit is contained in:
parent
951a704cec
commit
2f700a9ad5
3 changed files with 14 additions and 1 deletions
|
|
@ -102,6 +102,8 @@ http {
|
|||
underscores_in_headers {{ if $cfg.EnableUnderscoresInHeaders }}on{{ else }}off{{ end }};
|
||||
ignore_invalid_headers {{ if $cfg.IgnoreInvalidHeaders }}on{{ else }}off{{ end }};
|
||||
|
||||
limit_req_status {{ $cfg.LimitReqStatusCode }};
|
||||
|
||||
{{ if $cfg.EnableOpentracing }}
|
||||
opentracing on;
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue