From 797a2818201aaafc45f62d42c12084f0a724dbe9 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Fri, 8 Jan 2021 13:14:09 +1100 Subject: [PATCH] fixed BUG-15 - https doing http submits, also required traefik config in docker-compose.yml - to create a tcp router with ssl passthrough --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b23987f..9559e9c 100644 --- a/main.py +++ b/main.py @@ -652,4 +652,4 @@ if __name__ == "__main__": if hostname == DEV_HOST: app.run(host="0.0.0.0", debug=True) else: - app.run(host="0.0.0.0", debug=False) + app.run(ssl_context=('/etc/letsencrypt/live/book.depaoli.id.au/cert.pem', '/etc/letsencrypt/live/book.depaoli.id.au/privkey.pem'), host="0.0.0.0", debug=False)