• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Nginx https high performance config?

Gabor H

Basic Pleskian
Hi,

Tried several times on a fresh install of a server with Plesk 17.5 to make a PHP intensive site(a default Wordpress and Prestashop install without additional data) to be availble for higher throughput, but it always failed, out of the box.
Max stress test output of a HTTPS site was between 15-30req/sec,and it's very weak, checked with `ab` command and loader.io. (served with nginx + php-fpm)

If anyone has a good config which provide 50+ req/sec, then would you please share where and what to adjust exactly to make the server high performance for a high load?

(I've no issue with http, it's around 3-5000 req/sec max., so only struggling with https)

Thanks in advance,
 
Last edited:
Hello. My plesk server is Plesk Obsidian, Version 18.0.26.

I have 10 CPU's, 60Gb RAM and 1.6Tb of disk.
My NGINX.CONF file looks like this
---------------------------------------
# cat /etc/nginx/nginx.conf

#user nginx;
worker_processes 1;

#error_log /var/log/nginx/error.log;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;

#pid /var/run/nginx.pid;

include /etc/nginx/modules.conf.d/*.conf;

events {
worker_connections 1024;
}


http {
include mime.types;
default_type application / octet-stream;

#log_format main '$ remote_addr - $ remote_user [$ time_local] "$ request"'
# '$ status $ body_bytes_sent "$ http_referer"'
# '"$ http_user_agent" "$ http_x_forwarded_for"';

#access_log /var/log/nginx/access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;
#tcp_nodelay on;

#gzip on;
#gzip_disable "MSIE [1-6] \. (?!. * SV1)";

# 6 lines inserted by Vanius
client_header_timeout 3000;
client_body_timeout 3000;
fastcgi_read_timeout 3000;
client_max_body_size 32m;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 128k;

server_tokens off;

include /etc/nginx/conf.d/*.conf;
}

# override global parameters e.g. worker_rlimit_nofile
include / etc / nginx / * global_params;
------------------------------------

I often have error 502 in PLESK.
Will your configuration work on my machine?

Thankful,
Vanius
 
Back
Top