h2o.conf 358 B

123456789101112131415161718192021
  1. server-name: "h2o"
  2. user: www-data
  3. max-connections: 65536
  4. error-log: /dev/stderr
  5. num-threads: x
  6. listen:
  7. port: 8080
  8. hosts:
  9. default:
  10. paths:
  11. /:
  12. file.dir: /
  13. file.custom-handler: # handle PHP scripts
  14. extension: .php
  15. fastcgi.timeout.keepalive: 3900
  16. fastcgi.connect:
  17. port: /var/run/php/php-fpm.sock
  18. type: unix