Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd August 2012, 12:08
harkman harkman is offline
Junior Member
 
Join Date: Aug 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Make changes to nginx config stick

Hello.


I'm new to ISPConfig and I have it running only for 24 hours now. I really like the system

I did purchase the manual, but unfortunately I was not able to find the information I actually need.

I have configured my server to run on nginx.
I changed the ispconfig vhost configuration of nginx and later on I had to run the update script to regenerate the CSR.

Unfortunately the update restored the original ispconfig vhost configuration.

Now my question is, how can I modify the ispconfig vhost in a update save way?

Any ideas anybody?
Reply With Quote
Sponsored Links
  #2  
Old 3rd August 2012, 12:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

If you want to change some settings for alls ites, then edit the vhost config template file in /usr/local/ispconfig/server/conf/. If you want to add settings for one site, then add them in the nginx directives field on the options tab of the website.

Quote:
I did purchase the manual, but unfortunately I was not able to find the information I actually need.
The nginx directives field is described in the manual on page 101.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd August 2012, 12:40
harkman harkman is offline
Junior Member
 
Join Date: Aug 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Till,

but I want to change the vhost ISPConfig is running on.
/etc/nginx/sites-available/ispconfig.vhost

AFAIK there is no directives field for the ISPConfig vhost?
And it is this config file that I want not to be changed on updates.
Reply With Quote
  #4  
Old 3rd August 2012, 12:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

This file is managed by ispconfig directly, it is not intended that this file is altered manually.If you want to alter it anyway, then you might have to restore it after updates. Before you restore it you should ensure that your copy is still compatible with the new ispconfig version.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd August 2012, 13:04
harkman harkman is offline
Junior Member
 
Join Date: Aug 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok. Thanks.

I will try to add my custom configuration to a seperate server definition in a seperate file. That should be update save.

--Jürgen
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamassasin markasjunk2 roundcube plugin HyperAtom General 1 17th November 2012 21:19
cpan> install DB_File make error Nu2Linux HOWTO-Related Questions 6 13th April 2012 23:06
A Working Nginx Catchall with ISPConfig 3. renders Tips/Tricks/Mods 4 15th April 2011 22:53
Prevent Apache config files from being overwritten ehsan Installation/Configuration 3 17th September 2007 11:52
FC3 Perfect Installation Make Errors solderboy HOWTO-Related Questions 3 2nd October 2005 17:55


All times are GMT +2. The time now is 11:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.