summaryrefslogtreecommitdiff
path: root/subplot/server.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-11-27 08:45:15 +0200
committerLars Wirzenius <liw@liw.fi>2020-11-27 11:08:15 +0200
commit1c82e205572bbf1927f1a19a1b247b8aa7bdf58c (patch)
tree1296b0595a4effe7cb462ffa983f5f4e7728e766 /subplot/server.py
parentcf714f6eda475bbf5479cb8577cd12cacde18016 (diff)
downloadobnam2-1c82e205572bbf1927f1a19a1b247b8aa7bdf58c.tar.gz
feat! make obnam-server always use TLS
This will ruin my benchmark results, but it's the right thing to do.
Diffstat (limited to 'subplot/server.py')
-rw-r--r--subplot/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subplot/server.py b/subplot/server.py
index 5952cb2..c4c01e1 100644
--- a/subplot/server.py
+++ b/subplot/server.py
@@ -33,7 +33,7 @@ def start_chunk_server(ctx):
logging.debug(f"Picked randomly port for obnam-server: {config['port']}")
ctx["config"] = config
- ctx["server_url"] = f"http://localhost:{port}/chunks"
+ ctx["server_url"] = f"https://localhost:{port}/chunks"
start_daemon(
ctx,