Page 1 of 1

Let's Encrypt automatic update remove nginx config

Posted: Mon Feb 17, 2020 9:25 am
by jimmyphong
My web server using Let's Encrypt and i add url rewrite to nginx (both ssl and none ssl config file)
but when Let's Encrypt update , the config file is renew and remove my old config
is this Vestacp Bug ?
Sory for bad English.

Re: Let's Encrypt automatic update remove nginx config

Posted: Sun Aug 23, 2020 12:05 pm
by SanTi
Is not here any explanation for this, I have forgotten backup my config file and it is removed. Why renewing certifacate cause to remove of old nginx config and it converts to default ssl config!

Re: Let's Encrypt automatic update remove nginx config

Posted: Sun Aug 23, 2020 8:58 pm
by grayfolk
SanTi wrote:
Sun Aug 23, 2020 12:05 pm
Is not here any explanation for this, I have forgotten backup my config file and it is removed. Why renewing certifacate cause to remove of old nginx config and it converts to default ssl config!
This is too many times explained here. Dont edit config files in ~/conf/web
Create custom web templates in /usr/local/vesta/data/templates/web instead.