我们如何使用Lando来提供Varnish支持,我正在使用默认的.lando.yml文件
name: d8
recipe: drupal8
config:
php: '7.2'
webroot: web
答案 0 :(得分:1)
您可以使用服务添加Lando提供的任何其他支持:
name: d8
recipe: drupal 8
config:
php: 7.2
webroot: web
services:
varnishcache:
type: varnish:4.1
backends:
- appserver
backend_port: 80
ssl: false
config:
vcl: config/custom.vcl