-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCaddyfile
More file actions
32 lines (31 loc) · 778 Bytes
/
Copy pathCaddyfile
File metadata and controls
32 lines (31 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
auto_https off
frankenphp {
num_threads {$BENCH_THREADS:5}
max_threads {$BENCH_THREADS:5}
php_ini {
display_errors 1
display_startup_errors 1
log_errors 0
error_reporting E_ALL
expose_php 0
memory_limit 512M
max_execution_time 0
opcache.enable 1
opcache.enable_cli 0
opcache.validate_timestamps 0
opcache.memory_consumption 128
opcache.max_accelerated_files 20000
opcache.static_cache.volatile_size_mb 128
opcache.static_cache.stable_size_mb 128
}
}
}
{$SERVER_NAME:http://127.0.0.1:8080} {
root * {$OPCACHE_STATIC_CACHE_BENCHMARK_ROOT:.}/public
encode zstd gzip
php_server {
root {$OPCACHE_STATIC_CACHE_BENCHMARK_ROOT:.}/public
env OPCACHE_STATIC_CACHE_BENCHMARK_ROOT {$OPCACHE_STATIC_CACHE_BENCHMARK_ROOT:.}
}
}