Skip to content

Commit cc25c03

Browse files
authored
Update h2o.conf to use mruby handler
Replaced file directory configuration with mruby handler.
1 parent a4baa57 commit cc25c03

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/Servers/H2OServer/h2o.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
listen: 8080
2+
23
hosts:
34
default:
45
paths:
56
/:
6-
file.dir: /var/www
7+
mruby.handler: |
8+
Proc.new do |env|
9+
[200, { "content-type" => "text/plain" }, ["OK"]]
10+
end

0 commit comments

Comments
 (0)