fixed BUG-15 - https doing http submits, also required traefik config in docker-compose.yml - to create a tcp router with ssl passthrough

This commit is contained in:
2021-01-08 13:14:09 +11:00
parent 4842a1bc91
commit 797a281820

View File

@@ -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)