Skip to content

Commit 4546f48

Browse files
docs: mention placeholders in reverse_proxy context (#506)
Co-authored-by: Francis Lavoie <[email protected]>
1 parent 4582cdb commit 4546f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/markdown/conventions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Placeholders are a similar idea to variables in other software. For example, [ng
9090

9191
Placeholders are bounded on either side by curly braces `{ }` and contain the identifier inside, for example: `{foo.bar}`. The opening placeholder brace can be escaped `\{like.this}` to prevent replacement. Placeholder identifiers are typically namespaced with dots to avoid collisions across modules.
9292

93-
Which placeholders are available depends on the context. Not all placeholders are available in all parts of the config. For example, [the HTTP app sets placeholders](/docs/json/apps/http/#docs) that are only available in areas of the config related to handling HTTP requests.
93+
Which placeholders are available depends on the context. Not all placeholders are available in all parts of the config. For example, [the HTTP app sets placeholders](/docs/json/apps/http/#docs) that are only available in areas of the config related to handling HTTP requests. When a request passes through the [`reverse_proxy` handler](/docs/json/apps/http/servers/routes/handle/reverse_proxy/#docs), the handler sets several proxy-specific placeholders. These placeholders may be referenced during proxying as well as afterwards (in `handle_response`), for example when setting response headers or enriching access logs.
9494

9595
The following placeholders are always available (global):
9696

0 commit comments

Comments
 (0)