mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-04 00:56:07 +01:00
4d0483f0ce
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
10 lines
215 B
Lua
10 lines
215 B
Lua
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,
|
|
}
|