summaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/server.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2020-02-27 21:08:21 -0700
committerMatthew Holt <[email protected]>2020-02-27 21:08:21 -0700
commite4ec08e977bcc9c798a2fca324c7105040990bcf (patch)
treeae6e38866fa4c77c49e4874051ad6174b5b01e77 /modules/caddyhttp/server.go
parent03ab55b51afeb99d99f312c866ab3effeb7e180c (diff)
downloadcaddy-2.0.0-beta.15.tar.gz
caddy-2.0.0-beta.15.zip
Couple of minor docs tweaksv2.0.0-beta.15
Diffstat (limited to 'modules/caddyhttp/server.go')
-rw-r--r--modules/caddyhttp/server.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go
index 580449b22..1e22790d4 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