Caddyfile 317 B

123456789101112131415161718192021222324
  1. {
  2. # Debug
  3. {$CADDY_DEBUG}
  4. frankenphp {
  5. #worker /path/to/your/worker.php
  6. {$FRANKENPHP_CONFIG}
  7. }
  8. }
  9. :8080
  10. route {
  11. # FrankenPHP!
  12. # disable static files for this benchmark
  13. # by using php instead of php_server
  14. @phpFiles path *.php
  15. php @phpFiles {
  16. root /php
  17. }
  18. respond 404
  19. }