HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   how to implement fastcgi_cache on a Debian+nginx+ISPCFG3 isntal? (http://www.howtoforge.com/forums/showthread.php?t=60177)

Ovidiu 10th January 2013 10:21

how to implement fastcgi_cache on a Debian+nginx+ISPCFG3 isntal?
 
The server has been set up according to: http://www.howtoforge.com/perfect-se...nx-ispconfig-3

I'm just wondering how to add this tutorial to it: http://www.howtoforge.com/why-you-sh...h-microcaching

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?

falko 11th January 2013 16:46

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

Code:

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.


All times are GMT +2. The time now is 01:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.