Ok, you can try with:
1. Modified /home/nginx/etc/conf.d/custom.~lxcenter.conf:
...
limit_conn_zone $binary_remote_addr zone=addr:10m;
...
to:
...
limit_conn_zone $binary_remote_addr zone=addr:10m;
limit_req_zone $server_name zone=one:10m rate=100r/s;
...
2. /home/nginx/tpl/custom.domains.conf.tpl
...
## web for '<?php echo $domainname; ?>'
server {
listen <?php echo $ip; ?>:<?php echo $port; ?>;
<?php
if ($count !== 0) {
?>
...
to:
for limitation for domain 'level'
...
## web for '<?php echo $domainname; ?>'
server {
listen <?php echo $ip; ?>:<?php echo $port; ?>;
<?php
if ($domainname === 'yourdomain.com') {
?>
limit_req one;
<?php
}
?>
<?php
if ($count !== 0) {
?>
...
or:
for limitation for user 'level'
...
## web for '<?php echo $domainname; ?>'
server {
listen <?php echo $ip; ?>:<?php echo $port; ?>;
<?php
if ($user === 'admin') {
?>
limit_req one;
<?php
}
?>
<?php
if ($count !== 0) {
?>
...
Adjustment value of 'rate=100r/s' (permit 100 request/second) and 'yourdomain.com' (just example yourdomain.com is domain you want to limitation) or 'admin'.
Don't forget running 'sh /script/fixweb; service nginx restart' after that.