From 41c27d04d7c222317c9b0534fc70405f707147ed Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 9 Oct 2025 08:53:16 +0200 Subject: [PATCH] Mention that unix socket support for webserver-address requires 5.0. Fixes: #16222 Signed-off-by: Miod Vallat --- docs/http-api/index.rst | 2 +- docs/settings.rst | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/http-api/index.rst b/docs/http-api/index.rst index de479f1abc..3db3d09691 100644 --- a/docs/http-api/index.rst +++ b/docs/http-api/index.rst @@ -15,7 +15,7 @@ The webserver does not allow remote management of the daemon, but allows control The following webserver related configuration items are available: * :ref:`setting-webserver`: If set to anything but 'no', a webserver is launched. -* :ref:`setting-webserver-address`: IP address or UNIX domain socket path to bind the webserver to. Defaults to 127.0.0.1, which implies that only the local computer is able to connect to the nameserver! To allow remote hosts to connect, change to 0.0.0.0 or the physical IP address of your nameserver. +* :ref:`setting-webserver-address`: IP address (or UNIX domain socket path, from version 5.0.0 onward) to bind the webserver to. Defaults to 127.0.0.1, which implies that only the local computer is able to connect to the nameserver! To allow remote hosts to connect, change to 0.0.0.0 or the physical IP address of your nameserver. * :ref:`setting-webserver-password`: If set, viewers will have to enter this password in order to gain access to the statistics, in addition to entering the configured API key on the index page. * :ref:`setting-webserver-port`: Port to bind the webserver to (not relevant if :ref:`setting-webserver-address` is set to a UNIX domain socket). * :ref:`setting-webserver-allow-from`: Netmasks that are allowed to connect to the webserver (not relevant if :ref:`setting-webserver-address` is set to a UNIX domain socket). diff --git a/docs/settings.rst b/docs/settings.rst index a081c37ded..bc23926b36 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -2060,7 +2060,10 @@ Start a webserver for monitoring. See :doc:`performance`". - IP Address - Default: 127.0.0.1 -IP Address or path to UNIX domain socket for webserver/API to listen on. +IP Address for webserver/API to listen on. + +.. versionchanged:: 5.0.0 + A path to a UNIX domain socket may be used instead of an IP address. .. _setting-webserver-allow-from: -- 2.47.3