Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

where to place custom config files?

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Ovidiu
Posts: 9
Joined: Tue Dec 08, 2015 2:04 pm

where to place custom config files?
  • Quote

Post by Ovidiu » Tue Dec 08, 2015 8:32 pm

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...
Top

BBuchanan1013
Posts: 139
Joined: Thu Jan 07, 2016 12:01 am

Re: where to place custom config files?
  • Quote

Post by BBuchanan1013 » Wed Jan 20, 2016 6:59 pm

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.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: where to place custom config files?
  • Quote

Post by tjebbeke » Wed Jan 20, 2016 10:19 pm

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.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password