commit 4115df69f651d034a47deb93e7c316523f00ec7e
parent b24bc430515d5e762bbb419190831e961dbc2e4f
Author: Joris Vink <joris@coders.se>
Date: Tue, 11 Feb 2020 11:04:10 +0100
adjust for configuration changes
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/cli.c b/src/cli.c
@@ -337,10 +337,14 @@ static const char *build_data =
static const char *python_config_data =
"# %s configuration\n"
"\n"
- "bind\t\t127.0.0.1 8888\n"
+ "server tls {\n"
+ "\tbind 127.0.0.1 8888\n"
+ "}\n"
"tls_dhparam\tdh2048.pem\n"
"\n"
"domain * {\n"
+ "\tattach\t\ttls\n"
+ "\n"
"\tcertfile\tcert/server.pem\n"
"\tcertkey\t\tcert/key.pem\n"
"\n"