File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,10 @@ router:
121121 ip_rate :
122122 ip_burst :
123123 ip_rate_size : 8m
124+ ip_rate_log_level : error
124125 ip_connections :
125126 ip_connections_size : 5m
127+ ip_connections_log_level : error
126128 web_app_host : " *"
127129 web_app_backend_regex : " ^/(admin|admins|web-assets)(/|$)"
128130 web_app_backend_required_https_regex : " ^/(admin|admins)(/|$)"
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ http {
148148 # Limit the number of simultaneous connections per IP address.
149149 limit_conn_zone $binary_remote_addr zone=api_umbrella_conn_addr_zone:{ {router.global_rate_limits.ip_connections_size} };
150150 limit_conn_status { {apiSettings.error_data.over_rate_limit.status_code} };
151+ limit_conn_log_level { {router.global_rate_limits.ip_connections_log_level} };
151152 { {/router.global_rate_limits.ip_connections} }
152153
153154 { {#router.global_rate_limits.ip_rate} }
@@ -159,6 +160,7 @@ http {
159160 # against misbehaving clients from overloading the Gatekeeper.
160161 limit_req_zone $binary_remote_addr zone=api_umbrella_req_addr_zone:{ {router.global_rate_limits.ip_rate_size} } rate={ {router.global_rate_limits.ip_rate} };
161162 limit_req_status { {apiSettings.error_data.over_rate_limit.status_code} };
163+ limit_req_log_level { {router.global_rate_limits.ip_rate_log_level} };
162164 { {/router.global_rate_limits.ip_rate} }
163165
164166 # Allow any sized uploads to backends.
You can’t perform that action at this time.
0 commit comments