generated from ddev/ddev-addon-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem?
We can customize common_config via $CADDY_SERVER_EXTRA_DIRECTIVES, but not via caddyfiles - the import at the end of Caddyfile.frankenphp only allows adding new blocks.
Describe your solution
I propose changing it to something like this
(common_config) {
root {$DDEV_APPROOT}/{$DDEV_DOCROOT}
encode zstd br gzip
{$CADDY_SERVER_EXTRA_DIRECTIVES}
import Caddyfile.d/common-extra/*.caddyfile
}
Describe alternatives
I couldnt find any way to do this from the normal Caddyfile.d/ directory
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request