Symptoms
Performance Booster can not be enabled for a domain in Plesk > Tools & Settings > Performance Booster > example.com. The following error appears:
PLESK_ERROR: Last attempt to apply changes failed with the following error: Execution httpdmng has failed with exit code 1, stdout: , stderr: [2023-05-10 19:29:52.945] 254400:645b8e3ee7e41 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1] [2023-05-10 19:29:53.726] 254400:645b8e3ee7e41 ERR [panel] Apache config (16837217920.72297700) generation failed: Template_Exception: nginx: [emerg] "gzip" directive is duplicate in /var/www/vhosts/system/example.com/conf/vhost_nginx.conf:13 nginx: configuration file /etc/nginx/nginx.conf test failed
gzip
compression was enabled earlier in Domains > example.com > Apache & nginx > Additoinal nginx directives as per the following article.
Cause
Performance Booster extension does not detect custom gzip directives.
This behavior is planned to be improved in the scope of User Story https://jira.plesk.ru/browse/PPP-61145. Please DO not link tickets to it. Tickets are to be linked to https://jira.plesk.ru/browse/EXTPLESK-4696, however, this ID should also not be disclosed publicly
Resolution
Apply either of solutions below:
- Remove the directives added earlier as per article
- Keep Performance Booster disabled for the domain in question.
Comments
0 comments
Please sign in to leave a comment.