Add Nginx directives before the ones added by ISP Config?

Discussion in 'General' started by, Nov 12, 2015.

  1. New Member

    I am using Nginx, and I am able to more Nginx directives to the end of the website configuration that ISP Config generates, by using the "Nginx Directives" field.
    However, I need these configurations to appear BEFORE the ones generated automatically by ISP Config, not at the end.
    Is there a way to do that?
  2. matthias

    matthias New Member Moderator

    I don't think that is possible without altering the template ISPConfig uses to write the nginx website configurations - which might have undesired effects on other websites.

    Could you share what you're trying to do / which rules you're trying to add before the auto-generated ones? Maybe there's a way to accomplish this without template modifications.

Share This Page