diff --git a/api/docker/caddy/Caddyfile b/api/docker/caddy/Caddyfile index 3c98b023..b7050eb4 100644 --- a/api/docker/caddy/Caddyfile +++ b/api/docker/caddy/Caddyfile @@ -9,7 +9,8 @@ log { output file /var/log/caddy/access.log } -redir /docs/distribution /docs/symfony +@distribution path_regexp ^/docs/distribution(?:/?)$ +redir @distribution /docs/symfony/ @docsroot path_regexp ^/docs(/?)$ redir @docsroot /docs/symfony/