fixed misspell

Update rootfs/etc/nginx/lua/plugins/README.md
This commit is contained in:
Jangyooseok 2020-11-30 08:34:46 +09:00
parent 1152e80058
commit 1ad89c8bb2

View file

@ -15,7 +15,7 @@ By defining functions with the following names, you can run your custom Lua code
- `init_worker`: useful for initializing some data per Nginx worker process
- `rewrite`: useful for modifying request, changing headers, redirection, dropping request, doing authentication etc
- `header_filter`: this is called when backend response header is received, it is useful for modifying response headers
- `log`: this is called when request processing is commpleted and response is delivered to the client
- `log`: this is called when request processing is completed and a response is delivered to the client
Check this [`hello_world`](https://github.com/kubernetes/ingress-nginx/tree/master/rootfs/etc/nginx/lua/plugins/hello_world) plugin as a simple example or refer to [OpenID Connect integration](https://github.com/ElvinEfendi/ingress-nginx-openidc/tree/master/rootfs/etc/nginx/lua/plugins/openidc) for more advanced usage.