Skip to content

Instantly share code, notes, and snippets.

@kazuho
Created February 16, 2016 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazuho/6fbc5b507d551b3681dd to your computer and use it in GitHub Desktop.
Save kazuho/6fbc5b507d551b3681dd to your computer and use it in GitHub Desktop.
listen:
port: 8081
ssl:
key-file: examples/h2o/server.key
certificate-file: examples/h2o/server.crt
hosts:
default:
paths:
/:
mruby.handler: |
Proc.new do |env|
[200, {}, []]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment