You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gserver/config.yaml

30 lines
570 B
YAML

5 years ago
# 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