• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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