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,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 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
15 hours 16 min ago
16 hours 16 min ago
20 hours 3 min ago
21 hours 17 min ago
1 day 53 min ago
1 day 8 hours ago
1 day 17 hours ago
1 day 18 hours ago
2 days 9 hours ago
2 days 12 hours ago