I need to apply a specific setting to all sites defined in my configuration (specifically forcing all sites to be authenticated with Authelia)
root@srv /e/d/caddy# docker-compose exec caddy caddy version
Official docker image
I have a snippet that I include as part of each site configuration, such as
It works fine but there are now major drawbacks to this (scaling, forgetting to add the snippet, convoluted configuration, …)
I would like to avoid adding it and have the
import done automatically for each site definition. Alternatively to add the content of the snippet to a “global definition” that is added by default to all sites.
Is this possible?