interbrite/letsencrypt-vesta

Nginx only -- unexpected end of file, expecting ";" or "}" in /etc/nginx/conf.d/vesta.conf:4 nginx:

Opened this issue · 1 comments

Ubuntu 14.04 vanilla install
Nginx only for vesta configuration

  • Restarting nginx nginx nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/conf.d/vesta.conf:4
    nginx: configuration file /etc/nginx/nginx.conf test failed

Easy to fix. The generated vesta.conf looks like this

include /home/admin/conf/web/nginx.conf;
Include /home/admin/conf/web/snginx.conf

Just make the I in Include on the second line lower case and add ; to end of second line then
service nginx restart

This is the same as one of the posts in issue #5. It's actually a bug in one of the Vesta command line tools. I've linked to a couple of open issues in Vesta's bug tracker in issue 5. {There is a fix available here.](https://bugs.vestacp.com/issues/21)