diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | modules/caddyhttp/server.go | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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 |