interbrite / letsencrypt-vesta

Automate Let's Encrypt Certificate Installation for VestaCP
Other
217 stars 64 forks source link

error when used with nginx only. #19

Open rkhyd opened 8 years ago

rkhyd commented 8 years ago

i get an error message when i restart nginx service after linking the config files. * Restarting nginx nginx nginx: [emerg] unexpected ">" in /etc/nginx/conf.d/letsencrypt.conf:16 nginx: configuration file /etc/nginx/nginx.conf test failed

any ideas?

jpitoniak commented 8 years ago

It looks like you might be trying to use the Apache conf file provided in the project with Nginx. This won't work as the two web servers have very different configuration file formats. With Nginx you need to manually add the Let's Encrypt webroot mapping to each site's configuration directly.

Check the Nginx Configruation section of https://github.com/interbrite/letsencrypt-vesta/blob/master/README.md for specific details.