Limit PHP only to /content

#130
This commit is contained in:
Matthias Strubel 2016-05-12 18:15:11 +02:00
parent 975462157b
commit c3d68ab8d7

View file

@ -1,10 +1,11 @@
#-------------------- FAST CGI stuff #-------------------- FAST CGI stuff
fastcgi.server = ( $HTTP["url"] =~ "^/content/" {
".php" => (( fastcgi.server = (
"bin-path" => "/usr/bin/php-cgi", ".php" => ((
"socket" => "/tmp/php.socket", "bin-path" => "/usr/bin/php-cgi",
"max-procs" => 1 "socket" => "/tmp/php.socket",
)) "max-procs" => 1
) ))
)
}