fastcgi.server += (
".php" => ((
- "socket" => "/var/run/php/fcgi.sock", # spawned by php-fcgi-init
-# "socket" => "/var/run/php/fpm.sock", # spawned by php-fpm
+ "socket" => "/var/run/php/php-fpm.sock", # spawned by php-fpm
+# "socket" => "/var/run/php/fcgi.sock", # spawned by php-fcgi-init
# we enable check-local so you can use server.error-handler-404 for php files too
"check-local" => "enable",
"disable-time" => 1,
# "allow-x-send-file" => "enable",
- ))
+ )),
+
+# for this to work set in /etc/php/php-fpm.conf:
+# pm.status_path = /fpm-status
+# "/fpm-status" => ((
+# "socket" => "/var/run/php/fpm.sock",
+# "check-local" => "disable",
+# "disable-time" => 1,
+# )),
)
#fastcgi.server += (