From bdeaac5d035720f3cb2c2352e26e079b32306fc6 Mon Sep 17 00:00:00 2001 From: Jacob Kiers Date: Mon, 14 Mar 2022 18:22:07 +0100 Subject: [PATCH] Specify listen_host as an option in the config file Signed-off-by: Jacob Kiers --- tzk/default_config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tzk/default_config.py b/tzk/default_config.py index 394028c..af42c96 100644 --- a/tzk/default_config.py +++ b/tzk/default_config.py @@ -35,6 +35,10 @@ commit_remote = "" # http://localhost:8080 in your browser. listen_port = 8080 +# Host to listen on. If you specify "0.0.0.0" it will listen to all network interfaces. +# This is useful for allowing the wiki to be exposed to the network through a container. +listen_host = "127.0.0.1" + # Uncomment if you want to require HTTP basic authentication when serving your wiki. # **WARNING**: this is NOT secure for use over the open Internet or all but the # simplest local networks, as the password is sent in the clear. For good