# vim: set ft=yaml: # when provide certficate file, server will listen https and enable http2 listen: - addr: 0.0.0.0 port: 9001 certificates: # virtual host support vhost: - hostname: www.ratafee.nl docroot: . # proxypass: http://nginx:80/ url_rules: - prefix: /api/ lua_file: api.lua proxy: http1-proxy: false http2-proxy: true # trust the follow domains as local virtual host # when http2 proxy enabled localdomains: - localhost - localdomain - 127.0.0.1 - ratafee.nl - 98.142.138.194