diff --git a/caddy/frankenphp/Caddyfile b/caddy/frankenphp/Caddyfile index 43ed21b..62c9b17 100644 --- a/caddy/frankenphp/Caddyfile +++ b/caddy/frankenphp/Caddyfile @@ -1,6 +1,6 @@ { # Debug - {$DEBUG} + {$CADDY_DEBUG} frankenphp { #worker /path/to/your/worker.php diff --git a/docs/config.md b/docs/config.md index ba46b52..4c9af68 100644 --- a/docs/config.md +++ b/docs/config.md @@ -10,11 +10,11 @@ In the Docker image, the `php.ini` file is located at `/usr/local/lib/php.ini`. ## Enable the Debug Mode -When using the Docker image, set the `DEBUG` environment variable to `debug` to enable the debug mode: +When using the Docker image, set the `CADDY_DEBUG` environment variable to `debug` to enable the debug mode: ``` docker run -v $PWD:/app/public \ - -e DEBUG=debug \ + -e CADDY_DEBUG=debug \ -p 80:80 -p 443:443 \ dunglas/frankenphp ```