Conf-custom upgrade ISPConfig version

Discussion in 'Installation/Configuration' started by Fran17, Mar 30, 2026.

Tags:
  1. Fran17

    Fran17 New Member

    Hello,
    I’m currently testing ways to automate the ISPConfig upgrade using Ansible.
    There are configuration files, such as main.cf, dovecot.conf and the amavis 50-user file, which I modify during the installation process to apply the settings I need.
    I have seen and read that ISPConfig has a conf-custom directory where you can place the templates you want to be applied.
    I’m currently trying to create a template for Amavis; I’ve saved it both in the root of conf-custom and in conf-custom/install, named amavisd_conf.master and amavisd_custom.conf.master, but when I perform the upgrade, this configuration isn’t applied; instead, the default settings installed by ISPConfig are used.
    Is there something wrong with the filename or the path?
    Is there any documentation that specifies the naming convention and path for where to place these files?

    Translated with DeepL.com (free version)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    For installation templates: You must copy the original template file from install/tpl/ folder of the ISPConfig tar.gz to conf-custom/install/ folder, do not alter the filename, and modify the copy in conf-custom/install/.
     
  3. Fran17

    Fran17 New Member

    OK, thanks, it worked for me!!
     
    till likes this.
  4. Fran17

    Fran17 New Member

    Hello,
    I sometimes set up Nginx in front of Apache, with Nginx listening on port 80 and Apache on ports 8888 and 443.
    To ensure the sites are configured correctly in Apache, I usually edit the file /usr/local/ispconfig/server/conf/vhost.conf.master, but I can’t find it in the path you’ve given me.
    I’ve seen the file apache_ispconfig.vhost.master, but I’ve looked at it and modified it, and it doesn’t make the change I need in the vhost.conf.master file.
    Can you advise me on which file I need to put in conf-custom?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    /usr/local/ispconfig/server/conf/vhost.conf.master
     
  6. Fran17

    Fran17 New Member

    OK, but I’ve already tried copying the file /usr/local/ispconfig/server/conf/vhost.conf.master to /usr/local/ispconfig/server/conf-custom/install/vhost.conf.master with the settings I need, and when I update the ISPConfig version, it overwrites it with the default ISPConfig file.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The file vhost.conf.master is a runtime template and not an install template. As I mentioned in post #2, only installer templates, the ones from install/tpl/ folder of the ISPConfig tar.gz go into conf-custom/install/

    The template you refer to is not an installer template; it's a runtime template. Runtime templates go into conf-custom/ folder.
     
  8. Fran17

    Fran17 New Member

    Ok Thanks!!!
     

Share This Page