• 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.

Problem with nginx and server_names_hash_max_size

Santiago Hoyos

New Pleskian
Hi, I migrate a server from plesk 11 to new server in Plesk 12.

When i move some site the Plesk show this :

New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] "server_names_hash_max_size" directive is duplicate in /etc/nginx/conf.d/aa500_psa_tweaks.conf:2 nginx: configuration file /etc/nginx/nginx.conf test failed . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter

Any idea to fix it ?

I delete this directive in the file but show again.

Thanks.
 
Back
Top