Page 1 of 1

where to place custom config files?

Posted: Tue Dec 08, 2015 8:32 pm
by Ovidiu
I have found the list of config files for Debian here: http://vestacp.com/docs/#config-log-loc ... ian-ubuntu but I'd liek to know which ones I can edit and which ones will be overwritten by VestaCP when saving stuf and possible updating VestaCP?

I like customizing my nginx conf for example but want to make sure VestaCP isn't overwriting my changes...

Re: where to place custom config files?

Posted: Wed Jan 20, 2016 6:59 pm
by BBuchanan1013
If the setup is just for you and no one else, then I'd suggest keeping a backup on your computer....should be doing that anyway.

But, if it's for more than just you, then keep a backup cause there isn't a way to customize the templates without them being overwritten on the next update. Just keep them handy.

Re: where to place custom config files?

Posted: Wed Jan 20, 2016 10:19 pm
by tjebbeke
As I can see in the config templates at the end you have:
nginx.conf:

Code: Select all

include %home%/%user%/conf/web/nginx.%domain%.conf*;
Apache/httpd:

Code: Select all

Include %home%/%user%/conf/web/httpd.%domain%.conf*
You can try to create that conf file with your custom config.