Browse Source

Couple of minor docs tweaks

master
Matthew Holt 5 years ago
parent
commit
e4ec08e977
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 2
      README.md
  2. 4
      modules/caddyhttp/server.go

2
README.md

@ -53,7 +53,7 @@ _**Note:** These steps [will not embed proper version information](https://githu
Requirements: 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`) - Do NOT disable [Go modules](https://github.com/golang/go/wiki/Modules) (`export GO111MODULE=auto`)
Download the `v2` source code: Download the `v2` source code:

4
modules/caddyhttp/server.go

@ -94,7 +94,9 @@ type Server struct {
// client authentication. // client authentication.
StrictSNIHost *bool `json:"strict_sni_host,omitempty"` 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"` Logs *ServerLogConfig `json:"logs,omitempty"`
// Enable experimental HTTP/3 support. Note that HTTP/3 is not a // Enable experimental HTTP/3 support. Note that HTTP/3 is not a

Loading…
Cancel
Save