[go: nahoru, domu]

Skip to content

Commit

Permalink
fix H3 conf, disable it by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Sep 21, 2019
1 parent 74aee3e commit 8396a5b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions examples/h2o/h2o.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# to find out the configuration commands, run: h2o --help

listen: 8080
listen:
listen: &ssl_listen
port: 8081
quic: {}
ssl:
certificate-file: examples/h2o/server.crt
key-file: examples/h2o/server.key
Expand All @@ -12,20 +11,19 @@ listen:
cipher-suite: "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"
# Oldest compatible clients: Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8
# see: https://wiki.mozilla.org/Security/Server_Side_TLS
# The following three lines enable HTTP/3
#listen:
# <<: *ssl_listen
# type: quic
#header.set: "Alt-Svc: h3-23=\":8081\""
hosts:
"127.0.0.1.xip.io:8080":
paths:
/:
file.dir: examples/doc_root
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
header.set: "Alt-Svc: h3=\":8081\""
access-log: /dev/stdout

0 comments on commit 8396a5b

Please sign in to comment.