letsencrypt Broke my Vesta hosted websites Topic is solved
letsencrypt Broke my Vesta hosted websites
so vesta was running fine, but my ssl certs expired.
I was so stupid to run letsencrypt-auto for both nginx and apache2.
now there is a conflict that when I go to server option the GUI, apache2 stopped and nginx running.
somehow there is a port conflict which causing one to crash.
I dig down in conf files but couldn't figure it out, all my virtual hosts are down as well.
I tried restoring it from yesterday's but that didnt' help, I guess the restore doesn't bring the old conf files back.
any help would be appreciated.
thanks,
I was so stupid to run letsencrypt-auto for both nginx and apache2.
now there is a conflict that when I go to server option the GUI, apache2 stopped and nginx running.
somehow there is a port conflict which causing one to crash.
I dig down in conf files but couldn't figure it out, all my virtual hosts are down as well.
I tried restoring it from yesterday's but that didnt' help, I guess the restore doesn't bring the old conf files back.
any help would be appreciated.
thanks,
Re: letsencrypt Broke my Vesta hosted websites
so now i disabled the proxy support and hosted sites are back and accessible.
But when I turn the proxy support on, it throw an error saying failed to restart nginx
But when I turn the proxy support on, it throw an error saying failed to restart nginx
Re: letsencrypt Broke my Vesta hosted websites
the problem is if I turn the proxy on, then nginx unable to start.
if I stop apache2 and then start ngnix, it works. but then I can't turn on the apache2
if I stop apache2 and then start ngnix, it works. but then I can't turn on the apache2
Re: letsencrypt Broke my Vesta hosted websites
following is the my error in nginx
Code: Select all
2020/04/30 18:39:46 [warn] 29142#29142: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/domain.com.nginx.ssl.conf:4
2020/04/30 18:39:46 [emerg] 29142#29142: bind() to 162.x.x.x:443 failed (98: Address already in use)