Skip to content

Commit e825fd4

Browse files
authored
Merge pull request #586 from api-platform/staging
Staging
2 parents 3a6e465 + cfcdcb8 commit e825fd4

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/client-integration/
21+
1522
@docsroot path_regexp ^/docs(/?)$
1623
redir @docsroot /docs/symfony/
1724

0 commit comments

Comments
 (0)