File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ The caching kernel will immediately act as a reverse proxy - caching responses
163
163
from your application and returning them to the client.
164
164
165
165
Now that you're using a "proxy", you'll need to configure ``127.0.0.1 `` under
166
- the ``trusted_proxies `` configuration (see :ref: `reference <reference-framework-trusted-proxies >`).
166
+ the ``trusted_proxies `` configuration (see :ref: `the reference <reference-framework-trusted-proxies >`).
167
167
Without this, the client's IP address and a few other things won't report correctly.
168
168
169
169
.. tip ::
Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ and which reverse proxy IP addresses will be doing this type of thing:
60
60
61
61
In this example, you're saying that your reverse proxy (or proxies) has
62
62
the IP address ``192.0.0.1 `` or matches the range of IP addresses that use
63
- the CIDR notation ``10.0.0.0/8 ``. For more details, see :ref: `reference-framework-trusted-proxies `.
63
+ the CIDR notation ``10.0.0.0/8 ``. For more details, see the
64
+ :ref: `framework.trusted_proxies <reference-framework-trusted-proxies >` option.
64
65
65
66
That's it! Symfony will now look for the correct ``X-Forwarded-* `` headers
66
67
to get information like the client's IP address, host, port and whether or
@@ -97,7 +98,7 @@ My Reverse Proxy Uses Non-Standard (not X-Forwarded) Headers
97
98
98
99
Most reverse proxies store information on specific ``X-Forwarded-* `` headers.
99
100
But if your reverse proxy uses non-standard header names, you can configure
100
- these (:doc: `see reference < /components/http_foundation/trusting_proxies >` .
101
+ these (see " :doc: `/components/http_foundation/trusting_proxies `") .
101
102
The code for doing this will need to live in your front controller (e.g. ``web/app.php ``).
102
103
103
104
.. _`security groups` : http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/using-elb-security-groups.html
You can’t perform that action at this time.
0 commit comments