Make changes to nginx config stick
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?
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.
but I want to change the vhost ISPConfig is running on.
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.
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.
I will try to add my custom configuration to a seperate server definition in a seperate file. That should be update save.
|All times are GMT +2. The time now is 18:18.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.