diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
commit | be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /web/server/h2o/libh2o/examples/h2o_mruby/h2o.conf | |
parent | Initial commit. (diff) | |
download | netdata-upstream.tar.xz netdata-upstream.zip |
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/server/h2o/libh2o/examples/h2o_mruby/h2o.conf')
-rw-r--r-- | web/server/h2o/libh2o/examples/h2o_mruby/h2o.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/web/server/h2o/libh2o/examples/h2o_mruby/h2o.conf b/web/server/h2o/libh2o/examples/h2o_mruby/h2o.conf new file mode 100644 index 00000000..cf94ec3a --- /dev/null +++ b/web/server/h2o/libh2o/examples/h2o_mruby/h2o.conf @@ -0,0 +1,25 @@ +# to find out the configuration commands, run: h2o --help + +listen: 8080 +listen: + port: 8081 + ssl: + certificate-file: examples/h2o/server.crt + key-file: examples/h2o/server.key +hosts: + "127.0.0.1.xip.io:8080": + paths: + /: + file.dir: examples/doc_root + mruby.handler-file: examples/h2o_mruby/hello.rb + access-log: /dev/stdout + "alternate.127.0.0.1.xip.io:8081": + listen: + port: 8081 + ssl: + certificate-file: examples/h2o/alternate.crt + key-file: examples/h2o/alternate.key + paths: + /: + file.dir: examples/doc_root.alternate + access-log: /dev/stdout |