Indentation

This commit is contained in:
Bob Mottram 2018-04-22 18:40:13 +01:00
parent ac078c1b2d
commit 7f15c467f3
1 changed files with 4 additions and 4 deletions

View File

@ -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"
}