We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
NGINX config changes rewriting Topic is solved
NGINX config changes rewriting
Hello,
I have problems with the nginx configuration files located in /home/USER/conf/web/domain.ltd.nginx.ssl.conf. I needed to add several rows to these files for all my domains and it works well for a few weeks. But sometimes it happens that these changes will be removed by themselves. And it makes my site not working, so I add them again and usually it works for about 3 weeks.
Why is it happening and how can I prevent it?
I have problems with the nginx configuration files located in /home/USER/conf/web/domain.ltd.nginx.ssl.conf. I needed to add several rows to these files for all my domains and it works well for a few weeks. But sometimes it happens that these changes will be removed by themselves. And it makes my site not working, so I add them again and usually it works for about 3 weeks.
Why is it happening and how can I prevent it?
Re: NGINX config changes rewriting
You should not edit this files, they will be overwritten by vestacp. If you need to have some special settings, create a own template in /usr/local/vesta/data/templates/web.