git: db0a9e1a0cb4 - main - UPDATING: Note caddy admin API endpoint change

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Thu, 12 Oct 2023 02:38:57 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=db0a9e1a0cb4fdbc1d923cf2ce5d684141caebc3

commit db0a9e1a0cb4fdbc1d923cf2ce5d684141caebc3
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2023-10-12 02:38:26 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2023-10-12 02:38:40 +0000

    UPDATING: Note caddy admin API endpoint change
---
 UPDATING | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/UPDATING b/UPDATING
index bf616744a805..10a57980b74c 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,23 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20231011:
+  AFFECTS: users of www/caddy
+  AUTHOR:  adamw@FreeBSD.org
+
+  The default admin endpoint has changed from localhost:2019 to
+  /var/run/caddy/caddy.sock. Using a Unix socket is more secure,
+  allowing it to be secured by filesystem permissions rather than
+  requiring a firewall.
+
+  If you only control caddy from the rc(8) script (service caddy ...),
+  you don't need to do anything. If you access the API yourself, you
+  will want to update your scripts to use the new socket.
+
+  To use the old endpoint, add the following to /etc/rc.conf:
+
+    caddy_admin="localhost:2019"
+
 20231009:
   AFFECTS: users of net/ntpd-rs
   AUTHOR: mikael@freebsd.org
@@ -25,8 +42,8 @@ you update your ports collection, before attempting any port upgrades.
 
   The upgrade manual can be found as usual here:
   https://gitlab.fechner.net/mfechner/Gitlab-docu/-/blob/master/update/16.3-16.4-freebsd.md
-  
-  
+
+
 20230930:
   AFFECTS: users of Transmission (net-p2p/transmission@*)
   AUTHOR:  mondo.debater_0q@icloud.com