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
1 deletions
-
modules/caddyhttp/server.go
-
modules/filestorage/filestorage.go
|
@ -35,7 +35,9 @@ import ( |
|
|
type Server struct { |
|
|
type Server struct { |
|
|
// Socket addresses to which to bind listeners. Accepts
|
|
|
// Socket addresses to which to bind listeners. Accepts
|
|
|
// [network addresses](/docs/conventions#network-addresses)
|
|
|
// [network addresses](/docs/conventions#network-addresses)
|
|
|
// that may include port ranges.
|
|
|
// that may include port ranges. Listener addresses must
|
|
|
|
|
|
// be unique; they cannot be repeated across all defined
|
|
|
|
|
|
// servers.
|
|
|
Listen []string `json:"listen,omitempty"` |
|
|
Listen []string `json:"listen,omitempty"` |
|
|
|
|
|
|
|
|
// A list of listener wrapper modules, which can modify the behavior
|
|
|
// A list of listener wrapper modules, which can modify the behavior
|
|
|
|
@ -26,6 +26,7 @@ func init() { |
|
|
|
|
|
|
|
|
// FileStorage is a certmagic.Storage wrapper for certmagic.FileStorage.
|
|
|
// FileStorage is a certmagic.Storage wrapper for certmagic.FileStorage.
|
|
|
type FileStorage struct { |
|
|
type FileStorage struct { |
|
|
|
|
|
// The base path to the folder used for storage.
|
|
|
Root string `json:"root,omitempty"` |
|
|
Root string `json:"root,omitempty"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|