From b250bd9a0757fc56d59408470407cd75f5f92256 Mon Sep 17 00:00:00 2001 From: David Legrand <1110600+davlgd@users.noreply.github.com> Date: Thu, 17 Apr 2025 15:31:29 +0200 Subject: [PATCH] docs: add instructions to run Caddyfile from static binary (#1501) --- docs/config.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/config.md b/docs/config.md index 3d2786c4..fd81a2b6 100644 --- a/docs/config.md +++ b/docs/config.md @@ -2,8 +2,7 @@ FrankenPHP, Caddy as well as the Mercure and Vulcain modules can be configured using [the formats supported by Caddy](https://caddyserver.com/docs/getting-started#your-first-config). -In [the Docker images](docker.md), the `Caddyfile` is located at `/etc/caddy/Caddyfile`. -The static binary will look for the `Caddyfile` in the directory in which it is started. +In [the Docker images](docker.md), the `Caddyfile` is located at `/etc/caddy/Caddyfile`. The static binary will look for the `Caddyfile` in the directory where the `frankenphp run` command is executed. You can specify a custom path with the `-c` or `--config` option. PHP itself can be configured [using a `php.ini` file](https://www.php.net/manual/en/configuration.file.php).