Skip to content

Commit

Permalink
fix: missing redirections
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Dec 11, 2024
1 parent 15803d7 commit a2afc46
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/docker/caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ log {
@distribution path_regexp ^/docs/distribution(?:/?)$
redir @distribution /docs/symfony/

# note that once 4.1 is out we may need to improve this
@coreToSymfony path_regexp pathMatch ^/docs/core/(controllers|file-upload|fosuser-bundle|messenger|migrate-from-fosrestbundle|nelmio-api-doc|user)(?:/?)$
redir @coreToSymfony /docs/symfony/{re.pathMatch.1}/

@angular path_regexp pathMatch ^/docs/core/angularjs-integration(?:/?)$
redir @angular /docs/core/angular-integration/

@docsroot path_regexp ^/docs(/?)$
redir @docsroot /docs/symfony/

Expand Down

0 comments on commit a2afc46

Please sign in to comment.