aboutsummaryrefslogtreecommitdiff
path: root/network/lighttpd2/conf/php-fpm.lua
blob: f26bb9d796664534ae9d604b0e483e28a7df541c (plain)
1
2
3
4
5
6
7
8
9
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,
}