Skip to content

Commit

Permalink
Enable SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
andreArtelt committed Oct 28, 2021
1 parent 84ccc2f commit 61d3504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions BackEnd/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def runSslServer(certfile, keyfile):

if __name__ == "__main__":
if len(sys.argv) == 3:
certfile = sys.argv[1] # /etc/ssl/certs/ssl-cert-snakeoil.pem
keyfile = sys.argv[2] # /etc/ssl/private/ssl-cert-snakeoil.key
certfile = sys.argv[1] # /etc/ssl/certs/fullchain14.pem
keyfile = sys.argv[2] # /home/itsmladm/AlienZoo/alienzoo/privkey14.pem

runSslServer(certfile, keyfile)
else:
Expand Down
4 changes: 2 additions & 2 deletions index.htm
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url='http://its-ml.de:8888'" />
<meta http-equiv="refresh" content="0; url='https://its-ml.de:8888'" />
</head>
<body>
<p>Please follow <a href="http://its-ml.de:8888">this link</a>.</p>
<p>Please follow <a href="https://its-ml.de:8888">this link</a>.</p>
</body>
</html>

0 comments on commit 61d3504

Please sign in to comment.