Skip to content

Commit 513f73c

Browse files
committed
Add note on whitelisting IP addresses
1 parent 0ddea21 commit 513f73c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Resources/doc/varnish.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Configuration and usage
77

88
If you wish to invalidate cached objects in Varnish, begin by adding an [ACL](https://www.varnish-cache.org/docs/3.0/tutorial/vcl.html#example-3-acls)
99
to your Varnish configuration. This ACL determines which IPs are allowed to
10-
issue invalidation requests. Let’s call the ACL `invalidators`. This ACL will
11-
also be used throughout the Varnish examples on this page.
10+
issue invalidation requests. Let’s call the ACL `invalidators`. The ACL below
11+
will be used throughout the Varnish examples on this page.
1212

1313
```varnish
1414
# /etc/varnish/your_varnish.vcl
@@ -21,6 +21,10 @@ acl invalidators {
2121
}
2222
```
2323

24+
Note: please make sure that all web servers running your Symfony2 app that may
25+
trigger invalidation are whitelisted here. Otherwise, lost cached invalidation
26+
requests will lead to lots of confusion.
27+
2428
### Purging
2529

2630
First make sure your Varnish is [configured for handling PURGE requests](https://www.varnish-cache.org/docs/3.0/tutorial/purging.html).

0 commit comments

Comments
 (0)