2023-03-11 18:18:27 +01:00
|
|
|
# Managed by Ansible
|
|
|
|
|
2023-03-11 18:48:54 +01:00
|
|
|
limit_req_zone $binary_remote_addr zone=req_ip_one:10m rate=10r/s;
|
|
|
|
limit_req_zone $binary_remote_addr zone=req_ip_two:10m rate=1r/s;
|
|
|
|
limit_req_zone $server_name zone=req_server_one:10m rate=10r/s;
|
|
|
|
limit_req_zone $server_name zone=req_server_two:10m rate=1r/s;
|
2023-03-11 18:50:34 +01:00
|
|
|
limit_conn_zone $binary_remote_addr zone=con_ip_one:10m;
|
2023-03-11 18:18:27 +01:00
|
|
|
limit_req_status 444;
|