• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

nginx test failed after 11.5 upgrade

TravisG

New Pleskian
After upgrading to 11.5, I get the following message in my control panel:

Code:
New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] "proxy_cache" zone "otto-cache" is unknown in /etc/nginx/nginx.conf:40 nginx: configuration file /etc/nginx/nginx.conf test failed . The error message containing the detailed error descriptions was sent to you by e-mail. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

If I try

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

I get

Code:
Execution failed.
Command: httpdmng
Arguments: Array
(
    [0] => --reconfigure-domains
    [1] => domains.com (all my domains),
)

Details: 2013-11-04T08:47:56-08:00 ERR (3)  [util_exec]: proc_close() failed
2013-11-04T08:47:56-08:00 ERR (3)  [panel]: Apache config (13835836760.42889800) generation failed: Template_Exception: nginx: [emerg] "proxy_cache" zone "otto-cache" is unknown in /etc/nginx/nginx.conf:40
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
nginx: [emerg] "proxy_cache" zone "otto-cache" is unknown in /etc/nginx/nginx.conf:40
nginx: configuration file /etc/nginx/nginx.conf test failed

Any ideas?
 
There is no 'proxy_cache' parameter in default nginx configuration:

# grep proxy_cache /etc/nginx/nginx.conf
# grep 'proxy_cache' /etc/nginx/conf.d/*

Check this parameter in included config files in /etc/nginx/conf.d/ directory. Looks like that you have some customization there.
 
Back
Top