From 1f55335b5711e8d2a454fa67f153cce467dfadd3 Mon Sep 17 00:00:00 2001 From: WenMing Date: Mon, 26 Aug 2019 13:28:08 +0800 Subject: [PATCH] doc: fixed typo in serverless. (#440) --- doc/plugins/serverless.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/plugins/serverless.md b/doc/plugins/serverless.md index d7af8966..f18fd8b3 100644 --- a/doc/plugins/serverless.md +++ b/doc/plugins/serverless.md @@ -1,14 +1,13 @@ [中文](serverless-cn.md) # serverless -There are two plug-ins for serverless, namely `serverless-pre-function` and `serverless-post-function'. +There are two plug-ins for serverless, namely `serverless-pre-function` and `serverless-post-function`. The former runs at the beginning of the specified phase, while the latter runs at the end of the specified phase. Both plug-ins receive the same parameters. ### Parameters -* `phase`: The default phase is `access`, if not specified. The valid phases are: `rewrite', `access`,` -`Header_filer`, `body_filter', `log` and `balancer'. +* `phase`: The default phase is `access`, if not specified. The valid phases are: `rewrite`, `access`,`Header_filer`, `body_filter`, `log` and `balancer`. * `functions`: A list of functions that are specified to run is an array type, which can contain either one function or multiple functions, executed sequentially.