diff --git a/Caddyfile b/Caddyfile index 7ed476abf1e79..944380e0564d6 100644 --- a/Caddyfile +++ b/Caddyfile @@ -6,34 +6,54 @@ { metrics frankenphp { - num_threads 192 - max_threads 256 - # max_requests 500 - } -} + max_threads auto + max_requests 100 -localhost { - php_server { worker { file index.php - num 32 - watch + watch lib + watch config + watch apps + watch apps-* + watch core + watch 3rdparty + watch *.php + match /index.php/* + max_consecutive_failures -1 } worker { file remote.php - num 32 - watch match /remote.php/* + watch lib + watch config + watch apps + watch apps-* + watch core + watch 3rdparty + watch *.php + max_consecutive_failures -1 } worker { file ocs/v1.php - num 32 - watch match /ocs/v1.php/* match /ocs/v2.php/* + watch lib + watch config + watch apps + watch apps-* + watch core + watch 3rdparty + watch *.php + max_consecutive_failures -1 } } +} + +{$SERVER_NAME:localhost} { + php_server { + + } log { level ERROR