Skip to content

Commit

Permalink
fix trailing slash handling for distribution redir
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Sep 27, 2024
1 parent e3459df commit 3f1906e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/docker/caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 3f1906e

Please sign in to comment.