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?
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
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.
Recent comments
7 hours 10 min ago
16 hours 37 min ago
17 hours 27 min ago
21 hours 43 sec ago
1 day 1 hour ago
1 day 1 hour ago
1 day 3 hours ago
1 day 13 hours ago
1 day 18 hours ago
1 day 20 hours ago