• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

NGINX / FPM basic DDOS protection

VinnyT

Regular Pleskian
I am trying to integrate basic DDOS protection through the NGINX rules. I am using the following two URLs

These are example settings from this blog post: http://www.codestance.com/tutorials-archive/nginx-tuning-for-best-performance-255

------------------------------------------------------------------

# if the request body size is more than the buffer size, then the entire (or partial) request body is written into a temporary file
client_body_buffer_size 128k;

# headerbuffer size for the request header from client, its set for testing purpose
client_header_buffer_size 3m;

# maximum number and size of buffers for large headers to read from client request
large_client_header_buffers 4 256k;

# read timeout for the request body from client, its set for testing purpose
client_body_timeout 3m;

# how long to wait for the client to send a request header, its set for testing purpose
client_header_timeout 3m;

-------------------------------------------------------

Based on how Plesk works with VHOSTS and NGINX conf files, I am not sure where to put these settings. Should i modify the nginx vhost template at
/usr/local/psa/admin/conf/templates/default/domain/nginxDomainVirtualHost.php ?

Thanks
 
Back
Top