global nginx directives

Discussion in 'Installation/Configuration' started by schwabje, Sep 11, 2015.

  1. schwabje

    schwabje New Member

    I'm wondering if there can be nginx directives that apply to all new domains added via ISPConfig?
    I realize I can add these on a per-site basis via the Options tab, but I would like to modify the base template.
    Where would these be located or what would be the best approach?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can add them to the Nginx vhost template which is in the folder /usr/local/ispconfig/server/conf/. The Modified file should be stored in /usr/local/ispconfig/server/conf-custom/
  3. schwabje

    schwabje New Member

    Perfect thanks!

Share This Page