Skip to content

Commit 7cc70df

Browse files
authored
Update Caddyfile path in docs (#1908)
* Update index.md Adapted path to Caddyfile * Update caddy.md Adapted path to Caddyfile
1 parent ad6c3eb commit 7cc70df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

distribution/caddy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ For instance, when you create your own Symfony controllers serving HTML pages,
1919
or when using bundles such as EasyAdmin or SonataAdmin.
2020

2121
To do so, you have to tweak the rules used to route the requests.
22-
Open `api-platform/api/docker/caddy/Caddyfile` and modify the expression.
22+
Open `api-platform/api/frankenphp/Caddyfile` and modify the expression.
2323
You can use [any CEL (Common Expression Language) expression](https://caddyserver.com/docs/caddyfile/matchers#expression) supported by Caddy.
2424

2525
For instance, if you want to route all requests to a path starting with `/admin` to the API, modify the existing expression like this:

distribution/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ You'll need to add a security exception in your browser to accept the self-signe
201201
for this container when installing the framework.
202202

203203
Later you will probably replace this welcome screen by the homepage of your Next.js application. If you don't plan to create
204-
a Progressive Web App, you can remove the `pwa/` directory as well as the related lines in `docker-compose*.yml` and in `api/docker/caddy/Caddyfile` (don't do it
204+
a Progressive Web App, you can remove the `pwa/` directory as well as the related lines in `docker-compose*.yml` and in `api/frankenphp/Caddyfile` (don't do it
205205
now, we'll use this container later in this tutorial).
206206

207207
Click on the "API" button, or go to `https://localhost/docs/`:

0 commit comments

Comments
 (0)