Implement https/ssl

This commit is contained in:
Leonetienne
2022-04-08 21:41:43 +02:00
parent 5a009f9d00
commit f62b580d46
6 changed files with 33 additions and 10 deletions

View File

@@ -6,3 +6,10 @@ PASSWD_HASH = 'a3c1443b087cf5338d3696f6029fdf791ee4829a27e19c9f257a06ca0d88b5b51
# Sessions stay valid this many seconds, if inactive. Default: 600 (=10 minutes)
SESSION_DURATION = 600
# The port the webserver runs on
WEBSERVER_PORT = 443
# SSL key and certificate (you have to generate these yourself)
SSL_KEY_FILE = "key.pem"
SSL_CERT_FILE = "cert.pem"