Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 249
Expand file tree
/
Copy pathCaddyfile
More file actions
Latest commit
30 lines (26 loc) · 760 Bytes
/
Copy pathCaddyfile
File metadata and controls
30 lines (26 loc) · 760 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
{
{$CADDY_GLOBAL_OPTIONS}
frankenphp {
# FrankenPHP workers ignore CLI php.ini / PHPRC. Set PHP limits here.
php_ini memory_limit {$OCTANE_MEMORY_LIMIT:3072M}
php_ini max_execution_time {$OCTANE_MAX_EXECUTION_TIME:90}
php_ini post_max_size {$OCTANE_POST_MAX_SIZE:200M}
php_ini upload_max_filesize {$OCTANE_UPLOAD_MAX_FILESIZE:200M}
php_ini max_input_vars {$OCTANE_MAX_INPUT_VARS:9000}
php_ini max_input_time {$OCTANE_MAX_INPUT_TIME:90}
worker {
file "{$APP_PUBLIC_PATH}/frankenphp-worker.php"
{$CADDY_SERVER_WORKER_DIRECTIVE}
}
}
}
{$CADDY_SERVER_SERVER_NAME} {
route {
root*"{$APP_PUBLIC_PATH}"
php_server {
indexfrankenphp-worker.php
try_files{path}frankenphp-worker.php
resolve_root_symlink
}
}
}