Applicable to:
- Plesk for Linux
Symptoms
After a Plesk update, the following error is displayed in Plesk:
Unable to generate the web server configuration file on the host <example.com> because of the following errors:
Template_Exception: nginx: [emerg] unknown directive "brotli" in /etc/nginx/conf.d/brotli.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Please resolve the errors in web server configuration templates and generate the file again.
Cause
This is considered a Plesk bug #PPPM-12735 which will be fixed in an upcoming product release.
It is related to the lack of Lock usage in the nginx driver methods for module management.
Resolution
Until the bug is resolved the following workaround is available:
-
Connect to the server via SSH
-
Re-generate the webserver configuration files:
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
Comments
0 comments
Please sign in to leave a comment.