Skip to content

Commit 6353d24

Browse files
author
Bahram Davoodi
authored
Update README.md
Configure Magento to purge Varnish
1 parent 3a89481 commit 6353d24

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,18 @@ Varnish Full Page Cache should already be enabled out of the box (we startup Var
140140
* type 80 in the "backend port" field
141141
* save
142142

143+
Configure Magento to purge Varnish: add on app/etc/env.php
144+
145+
```
146+
'http_cache_hosts' => [
147+
[
148+
'host' => 'varnish'
149+
]
150+
],
151+
```
152+
153+
https://devdocs.magento.com/guides/v2.3/config-guide/varnish/use-varnish-cache.html
154+
143155
## Enable SSL Support
144156
Add this line to magento2/.htaccess
145157
```

0 commit comments

Comments
 (0)