Indentation
This commit is contained in:
parent
ac078c1b2d
commit
7f15c467f3
|
@ -88,11 +88,11 @@ function nginx_limits {
|
|||
max_body=$2
|
||||
fi
|
||||
filename=/etc/nginx/sites-available/$domain_name
|
||||
{ echo " client_max_body_size ${max_body};";
|
||||
echo ' client_body_buffer_size 128k;';
|
||||
{ echo " client_max_body_size ${max_body};";
|
||||
echo ' client_body_buffer_size 128k;';
|
||||
echo '';
|
||||
echo ' limit_conn conn_limit_per_ip 10;';
|
||||
echo ' limit_req zone=req_limit_per_ip burst=10 nodelay;';
|
||||
echo ' limit_conn conn_limit_per_ip 10;';
|
||||
echo ' limit_req zone=req_limit_per_ip burst=10 nodelay;';
|
||||
echo ''; } >> "$filename"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue