summaryrefslogtreecommitdiff
path: root/system/tls
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-21 21:48:18 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-21 21:48:18 -0700
commit936b8aef13b164ce74f9ec11bf1385275d282df8 (patch)
tree79cec6e00e6acbfca5fd5d7c78619fc26d94554c /system/tls
parent882a8166ce3095d390871ac6890974eb4c0d326d (diff)
adding support for TLS encryption, providing http/2 over HTTPS connections via port 443 - certificates obtained from Lets Encrypt, which is currently the default and only supprted CA
Diffstat (limited to 'system/tls')
-rw-r--r--system/tls/enable.go (renamed from system/tls/init.go)2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/tls/init.go b/system/tls/enable.go
index 80e1ef3..4be0aa8 100644
--- a/system/tls/init.go
+++ b/system/tls/enable.go
@@ -70,5 +70,5 @@ func Enable() {
TLSConfig: &tls.Config{GetCertificate: m.GetCertificate},
}
- go server.ListenAndServeTLS("", "")
+ go log.Fatalln(server.ListenAndServeTLS("", ""))
}