how to implement fastcgi_cache on a Debian+nginx+ISPCFG3 isntal?

Discussion in 'General' started by Ovidiu, Jan 10, 2013.

  1. Ovidiu

    Ovidiu Active Member

    The server has been set up according to:

    I'm just wondering how to add this tutorial to it:

    The problem I am facing is that as far as I can see I can't just add some of those directives via the ISPCFG control panel since the order seems important so I guess I'D have to change the templates ISPCFG is using for new sites, right?

    And if I'm right, can anyone point me towards where those templates are and if I upgrade ISPCFG I guess I need to update the templates again?
  2. falko

    falko Super Moderator ISPConfig Developer

    You can copy the PHP area from the vhost and create a

    location / {}
    in the nginx Directives field. Inside the location, you paste the PHP area and adjust it to your needs - this will override the default PHP area.

    In ISPConfig 3.0.5, it will be possible to create a second PHP configuration (without location / {} container), and ISPConfig will replace the default PHP configuration with yours.

Share This Page