summaryrefslogtreecommitdiff
path: root/https.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-12 12:26:05 -0600
committerJeff Carr <[email protected]>2024-01-12 12:26:05 -0600
commitf8ae1dee50c18b4d33036ed48c48d2111b35fe85 (patch)
treeac032dbba4d2a8094a4f4ca9fbf1942521c28dd3 /https.go
parenta36fe665e9515529166f64aaec4c88af6dedace2 (diff)
almost completely working
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'https.go')
-rw-r--r--https.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/https.go b/https.go
index 33a1099..00fca19 100644
--- a/https.go
+++ b/https.go
@@ -6,10 +6,10 @@ import (
)
func https() {
- http.HandleFunc("/", okHandler)
+ // http.HandleFunc("/", okHandler)
- certPath := "/etc/letsencrypt/live/yourdomain.com/fullchain.pem"
- keyPath := "/etc/letsencrypt/live/yourdomain.com/privkey.pem"
+ certPath := "/etc/letsencrypt/live/go.wit.com/fullchain.pem"
+ keyPath := "/etc/letsencrypt/live/go.wit.com/privkey.pem"
err := http.ListenAndServeTLS(":443", certPath, keyPath, nil)
if err != nil {