parent
7631af005d
commit
3906d547ef
6 changed files with 37 additions and 19 deletions
@ -0,0 +1,21 @@ |
||||
.. _config_http_filters_lua_v1: |
||||
|
||||
Lua |
||||
=== |
||||
|
||||
Lua :ref:`configuration overview <config_http_filters_lua>`. |
||||
|
||||
.. code-block:: json |
||||
|
||||
{ |
||||
"name": "lua", |
||||
"config": { |
||||
"inline_code": "..." |
||||
} |
||||
} |
||||
|
||||
inline_code |
||||
*(required, string)* The Lua code that Envoy will execute. This can be a very small script that |
||||
further loads code from disk if desired. Note that if JSON configuration is used, the code must |
||||
be properly escaped. YAML configuration may be easier to read since YAML supports multi-line |
||||
strings so complex scripts can be easily expressed inline in the configuration. |
Loading…
Reference in new issue