diff --git a/QUIC.md b/QUIC.md index 23fb0b8..f673628 100644 --- a/QUIC.md +++ b/QUIC.md @@ -37,7 +37,7 @@ However the initial connection will still happen over TCP untill the first HTTP First, make sure your domain name is properly set in your Caddyfile and the command to launch Chrome _in all places_. Next, your site must use a trusted certificate as QUIC requires encryption. -You can create a CA yourself an add it to your CA-database. When using this self-signed certificate, your site must have a hostname with top-level domain, eg. `foo.bar`, for Chromium to correctly send a QUIC ClientHello message. For testing over localhost you can add an entry to `/etc/hosts`. +You can create a CA yourself an add it to your CA-database. When using this self-signed certificate, your site must have a hostname with top-level domain, eg. `foo.bar`, for Chromium to correctly send a QUIC ClientHello message. For testing over localhost you can add an entry to `/etc/hosts` or run Chrome with the host-resolver-rules option: `--host-resolver-rules='MAP foo.bar: 127.0.0.1:'` If that's all good and if you're even just a little bit savvy with Go, then you could add `import "github.com/lucas-clemente/quic-go/utils"` and call `utils.SetLogLevel(utils.LogLevelDebug)` somewhere in Caddy's main() function. That will provide very detailed output. (Note that this log utility is not meant to be a public API.)