The following error occurs on an attempt to create a subscription or restart nginx:
PLESK_ERROR: ERR [util_exec] proc_close() failed [‘/usr/local/psa/admin/bin/nginx_control’ ‘–start’] with exit code  Can not start proxy server: /usr/local/psa/admin/sbin/nginx-config execution failed: nginx: [emerg] unknown directive “pagespeed” in /etc/nginx/nginx.conf:53 nginx: configuration file /etc/nginx/nginx.conf test failed
nginx provided with Plesk is not compiled with the
pagespeed nginx module.
It is required to remove
pagespeed directives from the nginx configuration file.
Connect to the server via SSH
Use any text editor to remove or comment out all the
Check that nginx configuration file is fine with the following command:
# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Re-create configuration files for all domains with the following command:
# plesk sbin httpdmng –reconfigure-all
Warning: Reconfiguration implies downtime, which depends on the number of domains