diff --git a/src/Servers/H2OServer/h2o.conf b/src/Servers/H2OServer/h2o.conf index 113e702..8b47c58 100644 --- a/src/Servers/H2OServer/h2o.conf +++ b/src/Servers/H2OServer/h2o.conf @@ -1,6 +1,10 @@ listen: 8080 + hosts: default: paths: /: - file.dir: /var/www + mruby.handler: | + Proc.new do |env| + [200, { "content-type" => "text/plain" }, ["OK"]] + end