Skip to content

Commit 945d722

Browse files
committed
fix: missing redirections
1 parent 3a6e465 commit 945d722

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

api/docker/caddy/Caddyfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ log {
1212
@distribution path_regexp ^/docs/distribution(?:/?)$
1313
redir @distribution /docs/symfony/
1414

15+
# note that once 4.1 is out we may need to improve this
16+
@coreToSymfony path_regexp pathMatch ^/docs/core/(controllers|file-upload|fosuser-bundle|messenger|migrate-from-fosrestbundle|nelmio-api-doc|user)(?:/?)$
17+
redir @coreToSymfony /docs/symfony/{re.pathMatch.1}/
18+
19+
@angular path_regexp pathMatch ^/docs/core/angularjs-integration(?:/?)$
20+
redir @angular /docs/core/angular-integration/
21+
1522
@docsroot path_regexp ^/docs(/?)$
1623
redir @docsroot /docs/symfony/
1724

0 commit comments

Comments
 (0)