Skip to content

Commit 093a511

Browse files
authored
Add note on setting hosts for Varnish configuration
Added important note about configuring Varnish in Shopware to prevent cURL SSL ERRORS.
1 parent aaa50d9 commit 093a511

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/ecommerce-applications/shopware-6/how-to-configure-varnish-for-shopware-6.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ location ~ \.php$ {
8888

8989
Go to [Shopware's Reverse Http Cache documentation](https://developer.shopware.com/docs/guides/hosting/infrastructure/reverse-http-cache) to configure Shopware to take Varnish into account.
9090

91+
```{important}
92+
Make sure your hosts in the shopware => http_cache => reverse_proxy section is set to `http://varnish:8081` to prevent cURL SSL ERRORS.
93+
```
9194
## Step Four: Implement a .vcl Into Varnish
9295

9396
To actually use Varnish you need to implement a varnish config file, a .vcl. If you're on Shopware >= 6.4, fetch the [Varnish configuration from their documentation](https://developer.shopware.com/docs/guides/hosting/infrastructure/reverse-http-cache#configure-varnish) (copy the code block starting with *vcl 4.0;*). Or you can create your own.

0 commit comments

Comments
 (0)