where to place custom config files?
where to place custom config files?
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...
I like customizing my nginx conf for example but want to make sure VestaCP isn't overwriting my changes...
-
- Posts: 139
- Joined: Thu Jan 07, 2016 12:01 am
Re: where to place custom config files?
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.
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.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: where to place custom config files?
As I can see in the config templates at the end you have:
nginx.conf:
Apache/httpd:
You can try to create that conf file with your custom config.
nginx.conf:
Code: Select all
include %home%/%user%/conf/web/nginx.%domain%.conf*;
Code: Select all
Include %home%/%user%/conf/web/httpd.%domain%.conf*