From e4ec08e977bcc9c798a2fca324c7105040990bcf Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 27 Feb 2020 21:08:21 -0700 Subject: Couple of minor docs tweaks --- README.md | 2 +- modules/caddyhttp/server.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3938f73..7d16e8a 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ _**Note:** These steps [will not embed proper version information](https://githu Requirements: -- [Go 1.13 or newer](https://golang.org/dl/) +- [Go 1.14 or newer](https://golang.org/dl/) - Do NOT disable [Go modules](https://github.com/golang/go/wiki/Modules) (`export GO111MODULE=auto`) Download the `v2` source code: diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go index 580449b..1e22790 100644 --- a/modules/caddyhttp/server.go +++ b/modules/caddyhttp/server.go @@ -94,7 +94,9 @@ type Server struct { // client authentication. StrictSNIHost *bool `json:"strict_sni_host,omitempty"` - // Logs customizes how access logs are handled in this server. + // Customizes how access logs are handled in this server. To + // minimally enable access logs, simply set this to a non-null, + // empty struct. Logs *ServerLogConfig `json:"logs,omitempty"` // Enable experimental HTTP/3 support. Note that HTTP/3 is not a -- cgit v1.2.3