ansible-role-nginx/files/request_limits.conf

9 lines
361 B
Text
Raw Normal View History

# 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;
limit_req_status 444;