Letsencrypt overwrites Nginx config file
Letsencrypt overwrites Nginx config file
Hello,
After each letsencrypt certificate update, the script overwrites SSL version of Nginx config file of my websites. And the new modification breaks the site and it has nothing new that wasn't already present in the previous config. All it is doing is making me lose my customizations and uptime.
Is there a way of cleanly avoid this overwrite or is it possible for me to change a template from which letsencrypt script is generating the Nginx SSL config file ?
Thank you.
After each letsencrypt certificate update, the script overwrites SSL version of Nginx config file of my websites. And the new modification breaks the site and it has nothing new that wasn't already present in the previous config. All it is doing is making me lose my customizations and uptime.
Is there a way of cleanly avoid this overwrite or is it possible for me to change a template from which letsencrypt script is generating the Nginx SSL config file ?
Thank you.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Letsencrypt overwrites Nginx config file
search.php?keywords=overwriteGem wrote: ↑Tue Aug 06, 2019 10:26 amHello,
After each letsencrypt certificate update, the script overwrites SSL version of Nginx config file of my websites. And the new modification breaks the site and it has nothing new that wasn't already present in the previous config. All it is doing is making me lose my customizations and uptime.
Is there a way of cleanly avoid this overwrite or is it possible for me to change a template from which letsencrypt script is generating the Nginx SSL config file ?
Thank you.