Lua

This extension may be referenced by the qualified name envoy.filters.http.lua

Note

This extension is intended to be robust against untrusted downstream traffic. It assumes that the upstream is trusted.

Lua configuration overview.

config.filter.http.lua.v2.Lua

[config.filter.http.lua.v2.Lua proto]

{
  "inline_code": "..."
}
inline_code

(string, REQUIRED) 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.