Skip to content

Commit

Permalink
Fix broken sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Aug 2, 2014
1 parent b3e7a07 commit b76047f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions doc/nginx-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,9 @@ Refresh

If you want to invalidate cached objects by forcing a :term:`refresh`
you have to use the built-in `proxy_cache_bypass <http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass>`_
directive.

This directive defines conditions under which the response will not be taken from a cache. This library uses a custom HTTP header
named ``X-Refresh``. Add a line like the following one in the right place

section:
directive. This directive defines conditions under which the response will not
be taken from a cache. This library uses a custom HTTP header named ``X-Refresh``,
so add a line like the following to your config:

.. literalinclude:: ../tests/Functional/Fixtures/nginx/fos.conf
:language: nginx
Expand Down

0 comments on commit b76047f

Please sign in to comment.