From 3837f9424d6dc2806f8e54d7d7a31ef196cfc9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fischer?= <a.fischer@opentalk.eu> Date: Mon, 10 Mar 2025 13:30:09 +0100 Subject: [PATCH] update controller sample --- .../opentalk-samples/controller.toml.sample | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/extras/opentalk-samples/controller.toml.sample b/extras/opentalk-samples/controller.toml.sample index 8d51a3f..c3a322a 100644 --- a/extras/opentalk-samples/controller.toml.sample +++ b/extras/opentalk-samples/controller.toml.sample @@ -35,6 +35,30 @@ url = "postgres://ot:postgrespw@postgres:5432/opentalk" #min_idle_connections = 10 [http] +# An optional address to which to bind. +# Can be either a hostname, or an IP address. +# +# By default, this will accept requests on both the IPv4 and IPv6 interfaces on any address. +# +# The exception to this rule is "::0" which will bind to both the IPv4 and the +# IPv6 UNSPECIFIED address, accepting requests on both of them. If the operating +# system provides no IPv6 support, or the service should not bind to an IPv6 +# interface, "0.0.0.0" can be used instead, which will only bind to the IPv4 +# UNSPECIFIED address. +#addr = "::0" +# +# A hostname or fully qualified domain name will bind to whatever the name +# resolution returns, either one or both IP protocols. +#addr = "controller.opentalk.example.com" +#addr = "localhost" +#addr = "opentalkserver" +# +# An explicit IPv4 or IPv6 address, will bind to the corresponding IP protocol. +#addr = "127.0.0.1" +#addr = "::1" +#addr = "192.0.2.0" +#addr = "2001:0DB8::1337:DEAD:CAFE" + # The port to bind the HTTP Server to (defaults to 11311). port = 11311 # URLs that requests are allowed from. Leave empty to allow all. -- GitLab