Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
Couple of minor docs tweaks
Matthew Holt committed
Feb 27, 2020 at 21:08 UTC
e4ec08e977bcc9c798a2fca324c7105040990bcf
2 files changed
+4
-2
README.md
+1
-1
@@ -53,7 +53,7 @@ _**Note:** These steps [will not embed proper version information](https://githu
53
54
Requirements:
55
56
-- [Go 1.13 or newer](https://golang.org/dl/)
56
+- [Go 1.14 or newer](https://golang.org/dl/)
57
- Do NOT disable [Go modules](https://github.com/golang/go/wiki/Modules) (`export GO111MODULE=auto`)
58
59
Download the `v2` source code:
modules/caddyhttp/server.go
+3
-1
@@ -94,7 +94,9 @@ type Server struct {
94
// client authentication.
95
StrictSNIHost *bool `json:"strict_sni_host,omitempty"`
96
97
- // Logs customizes how access logs are handled in this server.
97
+ // Customizes how access logs are handled in this server. To
98
+ // minimally enable access logs, simply set this to a non-null,
99
+ // empty struct.
100
Logs *ServerLogConfig `json:"logs,omitempty"`
101
102
// Enable experimental HTTP/3 support. Note that HTTP/3 is not a