Hello.
I have a problem with the Nginx configuration on a domain. Yesterday I entered a rule that was not executed and took nginx out of use. I can't restart Nginx anymore because it gives me this error:
Unable to manage service by nginxmng: ('start', 'nginx'). Error: [2019-11-20 16:50:45.835] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1] [2019-11-20 16:50:48.796] ERR [panel] Apache config (15742650330.90253900) generation failed: Template_Exception: nginx: [emerg] unexpected "\" in /etc/nginx/plesk.conf.d/vhosts/domain.conf:40 nginx: configuration file /etc/nginx/nginx.conf test failed file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0 nginx: [emerg] unexpected "\" in /etc/nginx/plesk.conf.d/vhosts/domain.conf:40 nginx: configuration file /etc/nginx/nginx.conf test failed
on line 40 of /etc/nginx/plesk.conf.d/vhosts/domain.conf there is an empty line, there isn't "\"
Usage Plesk Obisdian 18.0.21 and all components are updated.
How can I solve it?
I have a problem with the Nginx configuration on a domain. Yesterday I entered a rule that was not executed and took nginx out of use. I can't restart Nginx anymore because it gives me this error:
Unable to manage service by nginxmng: ('start', 'nginx'). Error: [2019-11-20 16:50:45.835] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1] [2019-11-20 16:50:48.796] ERR [panel] Apache config (15742650330.90253900) generation failed: Template_Exception: nginx: [emerg] unexpected "\" in /etc/nginx/plesk.conf.d/vhosts/domain.conf:40 nginx: configuration file /etc/nginx/nginx.conf test failed file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0 nginx: [emerg] unexpected "\" in /etc/nginx/plesk.conf.d/vhosts/domain.conf:40 nginx: configuration file /etc/nginx/nginx.conf test failed
on line 40 of /etc/nginx/plesk.conf.d/vhosts/domain.conf there is an empty line, there isn't "\"
Usage Plesk Obisdian 18.0.21 and all components are updated.
How can I solve it?
Last edited: