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:
2
main.py
2
main.py
@@ -652,4 +652,4 @@ if __name__ == "__main__":
|
|||||||
if hostname == DEV_HOST:
|
if hostname == DEV_HOST:
|
||||||
app.run(host="0.0.0.0", debug=True)
|
app.run(host="0.0.0.0", debug=True)
|
||||||
else:
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user