From 12b2f22092b4c4efaa9cb5a42870b0d21796f9c1 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 9 May 2023 20:05:27 -0600 Subject: Add doc comment about changing admin endpoint --- admin.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'admin.go') diff --git a/admin.go b/admin.go index 674d06a..59b3dcd 100644 --- a/admin.go +++ b/admin.go @@ -71,6 +71,11 @@ type AdminConfig struct { // parsed by Caddy. Accepts placeholders. // Default: the value of the `CADDY_ADMIN` environment variable, // or `localhost:2019` otherwise. + // + // Remember: When changing this value through a config reload, + // be sure to use the `--address` CLI flag to specify the current + // admin address if the currently-running admin endpoint is not + // the default address. Listen string `json:"listen,omitempty"` // If true, CORS headers will be emitted, and requests to the -- cgit v1.2.3