diff options
author | Matthew Holt <[email protected]> | 2023-05-09 20:05:27 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2023-05-09 20:05:27 -0600 |
commit | 12b2f22092b4c4efaa9cb5a42870b0d21796f9c1 (patch) | |
tree | 656af698240d6ceec207531fea962d0ba84ceddd | |
parent | 571fc034d3838d8c2a33ab8424d44eb5b30f4ecd (diff) | |
download | caddy-12b2f22092b4c4efaa9cb5a42870b0d21796f9c1.tar.gz caddy-12b2f22092b4c4efaa9cb5a42870b0d21796f9c1.zip |
Add doc comment about changing admin endpoint
-rw-r--r-- | admin.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |