summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-02-27 21:08:21 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-02-27 21:08:21 -0700
commite4ec08e977bcc9c798a2fca324c7105040990bcf (patch)
treeae6e38866fa4c77c49e4874051ad6174b5b01e77
parent03ab55b51afeb99d99f312c866ab3effeb7e180c (diff)
Couple of minor docs tweaks
-rw-r--r--README.md2
-rw-r--r--modules/caddyhttp/server.go4
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