Skip to content

Add custom Caddyfile configuration and HTTPS options for FrankenPHP in Octane docs #10688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions octane.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,17 @@ If the `--log-level` option is explicitly passed to the `php artisan octane:star

You may consult [the official FrankenPHP documentation](https://frankenphp.dev/docs/docker/) for more information on running FrankenPHP with Docker.

<a name="frankenphp-caddyfile"></a>
#### Custom Caddyfile Configuration

When using FrankenPHP, you may specify a custom Caddyfile using the `--caddyfile` option when starting Octane:

```shell
php artisan octane:start --server=frankenphp --caddyfile=/path/to/your/Caddyfile
```

This allows you to customize FrankenPHP's configuration beyond the default settings, such as adding custom middleware, configuring advanced routing, or setting up custom directives. You may consult the [official Caddy documentation](https://caddyserver.com/docs/caddyfile) for more information on Caddyfile syntax and configuration options.

<a name="roadrunner"></a>
### RoadRunner

Expand Down