apps.vhost get overwritten
I need https so I created a copy of the master file in /usr/local/ispconfig/server/conf-custom/install/apache_apps.vhost.master. When running ispconfig_update.sh the /etc/apache2/sites-available/apps.vhost is the right one (based on the changes I made in conf-custom) but after some time a cron or something else overwrites the file without my custom modifications.
I checked /usr/local/ispconfig/server/plugins-available/apps_vhost_plugin.inc.php and it looks like it only takes $tpl->newTemplate('apache_apps.vhost.master'); the nginx block below takes
if(file_exists($conf["rootpath"]."/conf-custom/nginx_apps.vhost.master")) {
$content = file_get_contents($conf["rootpath"]."/conf-custom/nginx_apps.vhost.master");
} else {
$content = file_get_contents($conf["rootpath"]."/conf/nginx_apps.vhost.master");
}
I will try to find the best way to fix it and send a merge request.