Skip to content

Commit c1a0059

Browse files
committed
Implemented the changes suggested by reviewers
1 parent 9064ffc commit c1a0059

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

cookbook/assetic/asset_management.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ To include JavaScript files, use the ``javascripts`` tag in any template:
9191

9292
You can also include CSS Stylesheets: see :ref:`cookbook-assetic-including-css`.
9393

94-
In this example, all the files in the ``Resources/public/js/`` directory
95-
of the ``AcmeFooBundle`` will be loaded and served from a different location.
96-
The actual rendered tag might simply look like:
94+
In this example, all files in the ``Resources/public/js/`` directory of the
95+
``AcmeFooBundle`` will be loaded and served from a different location. The
96+
actual rendered tag might simply look like:
9797

9898
.. code-block:: html
9999

cookbook/cache/varnish.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ To ensure that the Symfony Router generates URLs correctly with Varnish,
2828
an ``X-Forwarded-Port`` header must be present for Symfony to use the
2929
correct port number.
3030

31-
This port depends on your setup. Let's say that external connections come in
32-
on the default HTTP port 80. For HTTPS connections, there is another proxy
33-
(as Varnish does not do HTTPS itself) on the default HTTPS port 443 that
34-
handles the SSL termination and forwards the requests as HTTP requests to
35-
Varnish with an ``X-Forwarded-Proto`` header. In this case, you need to add
36-
the following configuration snippet:
31+
This port number corresponds to the port your setup is using to receive external
32+
connections (``80`` is the default value for HTTP connections). If the application
33+
also accepts HTTPS connections, there could be another proxy (as Varnish does
34+
not do HTTPS itself) on the default HTTPS port 443 that handles the SSL termination
35+
and forwards the requests as HTTP requests to Varnish with an ``X-Forwarded-Proto``
36+
header. In this case, you need to add the following configuration snippet:
3737

3838
.. code-block:: varnish4
3939

0 commit comments

Comments
 (0)