RU EN ES

Domain and IP whois

Domains HostingHosting VPS HostingVPS / VDS SSLCertificates Company Company

VPS / VDS hosting >  Protecting nginx from Flood attacks

Configuring nginx can significantly reduce the load and protect the site from unwanted bots. 

We set a limit of 250 connections in 1 second from one ip address

http section


limit_conn_zone $binary_remote_addr zone=addr:10m;
limit_conn_zone $server_name zone=servers:10m;
limit_req_zone $binary_remote_addr zone=one:10m rate=250r/s;


server section


        location / {
            limit_req zone=one;
        }


Channel bandwidth exhaustion protection.

This rule after downloading the first 10 megabytes will reduce the download speed to 512 kb/s for this client (ip).

http section


limit_rate_after 10240k;
limit_rate 512K;


You can also limit channel bandwidth in the ddos deflate settings.

Client Area

Log in

Forgot Password


Sign Up


Check mail:

Mail:
Pass.:

VPS Application catalog

Additional services

Knowledge base

VPS hosting

We were chosen by leading media companies with large volumes of data and high load

Calculate tariff

Domain transfer