- Plesk for Linux
An old SSL certificate is shown after renewal or default Plesk certificate is still used instead of a new one.
The correct cert is shown in domain Hosting settings.
Nginx restart is required to apply the new certificate.
nginx reloaddoes not work.
/var/log/nginx/error.logfile contains the following entries:
CONFIG_TEXT: [emerg] 97506#0: open() "/var/www/vhosts/system/example.com/logs/proxy_access_log" failed (24: Too many open files)
Open files limit reached causing nginx to work with an old configuration.
Increase number open files limit in
Connect to the server through SSH.
via a text editor and increase the value of
LimitNOFILE=directive (or add such directive in case it is missing):
Note: If CentOS 6 is used, follow steps from the next article: Nginx fails: Too many open files