Last active
May 23, 2025 19:00
-
-
Save josephscott/88c527428fc690f3c5e28da412e78bdb to your computer and use it in GitHub Desktop.
FrankenPHP Caddyfile, WordPress sub-directory for local dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| frankenphp { | |
| php_ini max_execution_time 300 | |
| php_ini memory_limit 256M | |
| php_ini upload_max_filesize 128M | |
| php_ini post_max_size 128M | |
| } | |
| } | |
| localhost:9999 { | |
| encode zstd br gzip | |
| php_server | |
| file_server | |
| try_files {path} {path}/index.php /wordpress/index.php | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment