build-configs/templates/web/caddy/Caddyfile.twig
Oliver Davies 1fb75c9d93 feat: make the Drupal docroot configurable
Allow for setting a `docroot` directory for Drupal projects.

By default, I've set this to `web` as that's what the Drupal Composer
scaffold projects use, but other platforms such as Acquia Cloud hosting
use `docroot`.

This is how it can be configured in `build.yaml`:

```yaml
drupal:
  docroot: docroot
```

Fixes #2
2023-02-19 13:00:06 +00:00

5 lines
70 B
Twig

:80
root * /app/{{ drupal.docroot }}
file_server
php_fastcgi php:9000