@marcel91200 / caddy Mirror · read-only / commits / e3a8f72f
Fork 0

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

docs: Minor improvements

Matthew Holt committed Apr 21, 2020 at 19:30 UTC e3a8f72f1c090368364eac851a6e05b9339c86ad
2 files changed +4 -1
modules/caddyhttp/server.go
+3 -1
@@ -35,7 +35,9 @@ import (
35 type Server struct {
36 // Socket addresses to which to bind listeners. Accepts
37 // [network addresses](/docs/conventions#network-addresses)
38 - // that may include port ranges.
38 + // that may include port ranges. Listener addresses must
39 + // be unique; they cannot be repeated across all defined
40 + // servers.
41 Listen []string `json:"listen,omitempty"`
42
43 // A list of listener wrapper modules, which can modify the behavior
modules/filestorage/filestorage.go
+1
@@ -26,6 +26,7 @@ func init() {
26
27 // FileStorage is a certmagic.Storage wrapper for certmagic.FileStorage.
28 type FileStorage struct {
29 + // The base path to the folder used for storage.
30 Root string `json:"root,omitempty"`
31 }
32