summaryrefslogtreecommitdiff
path: root/modules/caddyhttp
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-04-21 19:30:04 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-04-21 19:30:04 -0600
commite3a8f72f1c090368364eac851a6e05b9339c86ad (patch)
treecf1d646ff4b423ebb18c85cb4cf52e77e323106c /modules/caddyhttp
parentbae4f15fad6acb8db288d3add565193d27961eb4 (diff)
docs: Minor improvements
Diffstat (limited to 'modules/caddyhttp')
-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 e8bf900..96bc722 100644
--- a/modules/caddyhttp/server.go
+++ b/modules/caddyhttp/server.go
@@ -35,7 +35,9 @@ import (
type Server struct {
// Socket addresses to which to bind listeners. Accepts
// [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"`
// A list of listener wrapper modules, which can modify the behavior