NGINX issue with specific domains

I have specific settings for some of my websites, where I change the proxy_pass in specific domains through “/etc/nginx/conf.d/domains/”, but lately the files I change (.conf and .ssl.conf) are being reset every time hestiacp is updated. Is there a workaround for this?

Thanks in advance!

Found a possible workaround using "/usr/local/hestia/data/templates/web/"

Gonna wait for the next update and see what happens.

yes, this the correct way.

main config files need to be rebuilt based on the templates, so direct edits will go not be permanent. (hnece the warning in the files header ;-))

if you create and use your own custom template, the next rebuilt will be based on this and keep your individual settings.