doc: update docs and fixed typos (#5821)
This commit is contained in:
parent
c56baf6b15
commit
3402d07ff0
4 changed files with 9 additions and 7 deletions
|
|
@ -14,7 +14,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`: this is called when backend response header is received, it is useful for modifying response headers
|
||||
- `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
|
||||
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue