The use case: I use myVesta (and vestacp) sometimes as a nginx reverse proxy (to another site hosted elsewhere). In order to do this, I manually edit the file /home/$username/admin/conf/$domain.nginx.ssl.conf so that nginx does what it needs to (additional custom listening ports, replacing files on the run, etc...)
The problem: when the letsencrypt cert gets updated, the nginx config file gets overwritten, therefore all the custom config goes. Same thing happened when I did an upgrade using apt, as well as when I migrated servers (using backup/restore).
My (dirty) solution: I modified the v-add-letsencrypt-domain script so that it copies back my custom config file when the cert gets updated (and of course I am very careful now when I run apt-get distupgrade).
Is there a better solution to prevent this file (/home/$username/admin/conf/$domain.nginx.ssl.conf) from being (auto-generated) overwritten?
Comment: I understand that the answer may very well be "NO" because there are reasons why this file is re-created, but just wanted to check.
Thank you
