mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
* collect metrics only if enabled * Update caddy/caddy.go Co-authored-by: Kévin Dunglas <kevin@dunglas.fr> * Update caddy/caddy.go Co-authored-by: Kévin Dunglas <kevin@dunglas.fr> --------- Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
20 lines
263 B
Caddyfile
20 lines
263 B
Caddyfile
{
|
|
frankenphp {
|
|
max_threads {$MAX_THREADS}
|
|
num_threads {$NUM_THREADS}
|
|
worker {
|
|
file /go/src/app/testdata/{$WORKER_FILE:sleep.php}
|
|
num {$WORKER_THREADS}
|
|
}
|
|
}
|
|
}
|
|
|
|
:80 {
|
|
route {
|
|
root /go/src/app/testdata
|
|
php {
|
|
root /go/src/app/testdata
|
|
}
|
|
}
|
|
}
|