Matthew Holt
5 years ago
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
2 changed files with
4 additions and
2 deletions
-
README.md
-
modules/caddyhttp/server.go
|
@ -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: |
|
|
|
@ -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
|
|
|