summaryrefslogtreecommitdiff
blob: ccca5dd2de5168754c5dfd2ecae07d14409fada9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# see /usr/share/doc/h2o/index.html for detailed documentation
# see h2o --help for command-line options and settings

user: h2o
pid-file: /run/h2o.pid
access-log: /var/log/h2o/access.log
error-log: /var/log/h2o/error.log

# httpoxy mitigation (https://httpoxy.org)
# see https://github.com/h2o/h2o/pull/996
setenv:
  HTTP_PROXY: ""

listen: 80

#listen:
#  port: 443
#    ssl:
#      minimum-version: TLSv1.2
#      certificate-file: /etc/h2o/server.crt
#      key-file: /etc/h2o/server.key

hosts:
  "localhost:80":
    paths:
      "/":
        file.dir: /var/www/localhost/htdocs
      "/doc":
        file.dir: /usr/share/doc/h2o/
        file.index: [ 'index.html' ]