summaryrefslogtreecommitdiff
path: root/www-servers/h2o/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:52:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:52:04 +0100
commit71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /www-servers/h2o/files
parent6612a728ea11526a849618ec515ad57131d64416 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'www-servers/h2o/files')
-rw-r--r--www-servers/h2o/files/h2o.conf29
1 files changed, 8 insertions, 21 deletions
diff --git a/www-servers/h2o/files/h2o.conf b/www-servers/h2o/files/h2o.conf
index ccca5dd2de51..23f2d76d51ee 100644
--- a/www-servers/h2o/files/h2o.conf
+++ b/www-servers/h2o/files/h2o.conf
@@ -1,30 +1,17 @@
-# 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":
+ "localhost":
+ listen:
+ port: 80
+ listen:
+ port: 443
+ ssl:
+ certificate-file: /etc/ssl/h2o/server.crt
+ key-file: /etc/ssl/h2o/server.key
paths:
"/":
file.dir: /var/www/localhost/htdocs
- "/doc":
- file.dir: /usr/share/doc/h2o/
- file.index: [ 'index.html' ]