docs: add instructions to run Caddyfile from static binary (#1501)

This commit is contained in:
David Legrand
2025-04-17 15:31:29 +02:00
committed by GitHub
parent 99064ee3e1
commit b250bd9a07

View File

@@ -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).