Skip to content

Commit 31ad2cc

Browse files
committed
Merge pull request #100 from FriendsOfSymfony/base-url-port
Note that base URL should include port
2 parents 9f16da8 + 39bcecf commit 31ad2cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/proxy-clients.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ is available as the second parameter::
2828

2929
$varnish = new Varnish($servers, 'my-cool-app.com');
3030

31+
Again, if you access your web application on a port other than 80, make sure to
32+
include that port in the base URL::
33+
34+
$varnish = new Varnish($servers, 'my-cool-app.com:8080');
35+
3136
.. note::
3237

3338
To use the client, you need to :doc:`configure Varnish <varnish-configuration>` accordingly.

0 commit comments

Comments
 (0)