Skip to content

Commit

Permalink
tweak documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Jan 8, 2025
1 parent 7995f55 commit 7b737f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Resources/doc/reference/configuration/headers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,10 @@ keeping previously set Vary options:

**type**: ``integer``

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

.. warning::

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

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

Change the name for the header for reverse proxy.
You can change the header name used for the ``reverse_proxy_ttl`` option:

.. code-block:: yaml
Expand Down

0 comments on commit 7b737f7

Please sign in to comment.