Home  >  Article  >  Operation and Maintenance  >  How to set the upper buffer capacity limit for Nginx server

How to set the upper buffer capacity limit for Nginx server

王林
王林forward
2023-05-19 23:19:041005browse

Set the upper limit of buffer capacity

Such a setting can prevent buffer overflow attacks (also Server module)

client_div_buffer_size 1k; client_header_buffer_size 1k; client_max_div_size 1k; large_client_header_buffers 2 1k;

After setting, no matter how many HTTP requests Will not overflow the server system's buffer.

The above is the detailed content of How to set the upper buffer capacity limit for Nginx server. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete