add support for serving TLS

This commit is contained in:
sm
2017-02-06 21:32:48 -08:00
parent 5ba960613c
commit c13c59650e
2 changed files with 31 additions and 4 deletions
+3
View File
@@ -14,4 +14,7 @@ use:
# allow serving hidden files/dirs
servedir -hidden
# serve https, with http redirect
TLS_CERT=/path/to/cert.pem TLS_KEY=/path/to/key.pem servedir
# or see -help