Skip to content

Commit 7b737f7

Browse files
committed
tweak documentation
1 parent 7995f55 commit 7b737f7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: Resources/doc/reference/configuration/headers.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,10 @@ keeping previously set Vary options:
317317

318318
**type**: ``integer``
319319

320-
Set a X-Reverse-Proxy-TTL header for reverse proxy time-outs not driven by
320+
Set a custom TTL header for reverse proxy time-outs not driven by
321321
``s-maxage``. This keeps your ``s-maxage`` free for use with reverse proxies
322-
not under your control.
322+
not under your control. The default header name is ``X-Reverse-Proxy-TTL`` but
323+
you can customize the header name as explained in the next section.
323324

324325
.. warning::
325326

@@ -351,7 +352,7 @@ This example adds the header ``X-Reverse-Proxy-TTL: 3600`` to your responses.
351352

352353
**type**: ``string`` default `X-Reverse-Proxy-TTL`
353354

354-
Change the name for the header for reverse proxy.
355+
You can change the header name used for the ``reverse_proxy_ttl`` option:
355356

356357
.. code-block:: yaml
357358

0 commit comments

Comments
 (0)