nginx客戶端請求配置項有:1、“limit_except”,按HTTP方法名限制用戶請求;2、“client_max_body_size size”,HTTP請求包體的最大值;3、“limit_rate speed”,對請求的限速等。
客戶端請求配置
配置項 | 默認 | 用途 | 配置塊 |
---|---|---|---|
limit_except method …{…} | 按 HTTP 方法名限制用戶請求 | location | |
client_max_body_size size; | 1m | HTTP 請求包體的最大值 | http、server、location |
limit_rate speed; | 0 | 對請求的限速 | http、server、location |
limit_rate_after time; | 1m | 發送響應長度超過1m后限速 | http、server、location |
推薦學習:《Nginx教程》
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END