From 814cfe8f4be2cede75e7ca3056a1e4efa2570651 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 20 Feb 2025 15:55:01 -0500 Subject: [PATCH] docs: lua link to ifurlup-options Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/lua-records/functions.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/lua-records/functions.rst b/docs/lua-records/functions.rst index 45a63a1c25..e04bc7100f 100644 --- a/docs/lua-records/functions.rst +++ b/docs/lua-records/functions.rst @@ -82,6 +82,8 @@ Record creation functions :param addresses: List of sets of addresses to check the URL on. :param options: Table of options for this specific check, see below. + .. _ifurlup-options: + Various options can be set in the ``options`` parameter: - ``selector``: used to pick the address(es) from the subset of available addresses of the selected set. Choices include 'pickclosest', 'random', 'hashed', 'all' (default 'random'). @@ -106,7 +108,7 @@ Record creation functions This is useful when health checking already happens elsewhere, and that state is exposed over HTTP(S). Health checks are considered positive if the HTTP response code is 200 and optionally if the content matches the ``stringmatch`` option. - Options are identical to those for ``ifurlup``. + :ref:`Options ` are identical to those for ``ifurlup``. Example: -- 2.47.2