diff --git a/website/content/docs/envoy-extension/lua.mdx b/website/content/docs/envoy-extension/lua.mdx index 8ecd40350df..2fd8c073ffd 100644 --- a/website/content/docs/envoy-extension/lua.mdx +++ b/website/content/docs/envoy-extension/lua.mdx @@ -213,33 +213,36 @@ end } ] ``` - The following example configuration configures the Lua Envoy extension to insert the HTTP Lua filter for all Consul API Gateways named `my-api-gateway` to modify the response body when the status of the http request from upstream is 404. - - - - ```hcl - Kind = "service-defaults" - Name = "my-api-gateway" - EnvoyExtensions = [ - { - Name = "builtin/lua", - Arguments = { - ProxyType = "api-gateway" - Listener = "outbound" - Script = < + +The following example configuration configures the Lua Envoy extension to insert the HTTP Lua filter for all Consul API Gateways named `my-api-gateway` to modify the response body when the status of the http request from upstream is 404. + + + +```hcl + Kind = "service-defaults" + Name = "my-api-gateway" + EnvoyExtensions = [ + { + Name = "builtin/lua", + Arguments = { + ProxyType = "api-gateway" + Listener = "outbound" + Script = <