File tree 1 file changed +11
-0
lines changed
Resources/doc/cache-resolver
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,17 @@ Web Path Resolver
6
6
7
7
The ``WebPathResolver `` resolver enabled cache resolution using the
8
8
web path of your application.
9
+ The resulting web path is computed by taking into account the request context,
10
+ notably to decide which scheme to use. If you use a proxy to decrypt incoming
11
+ TLS traffic, and need the resolver to generate https urls, you will need to
12
+ `list trusted proxies in the configuration of the framework `_. If you also
13
+ `embed controllers `_ in your templates, you will need to add the localhost to
14
+ that list.
15
+ The request context is also used to determine the port to specify, should it
16
+ differ from standard HTTP ports like ports 80 or 443.
17
+
18
+ .. _`list trusted proxies in the configuration of the framework` : http://symfony.com/doc/current/components/http_foundation/trusting_proxies.html
19
+ .. _`embed controllers` : https://symfony.com/doc/current/templating/embedding_controllers.html
9
20
10
21
11
22
Configuration
You can’t perform that action at this time.
0 commit comments