diff options
Diffstat (limited to 'network/lighttpd2/conf/php-fpm.lua')
-rw-r--r-- | network/lighttpd2/conf/php-fpm.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/network/lighttpd2/conf/php-fpm.lua b/network/lighttpd2/conf/php-fpm.lua new file mode 100644 index 0000000000..f26bb9d796 --- /dev/null +++ b/network/lighttpd2/conf/php-fpm.lua @@ -0,0 +1,10 @@ +local function phpfpm(act) + return action.when(physical.path:suffix(".php"), + action.when(physical.is_file:is(), act), + action.when(request.path:eq("/fpm-status"), act) + ) +end + +actions = { + ["phpfpm"] = phpfpm, +} |