From 66e9297086d512771a9543b9e7a13af1bc2cf326 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 30 Jun 2025 04:43:38 -0500 Subject: do some basic things on / --- https.go | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 https.go (limited to 'https.go') diff --git a/https.go b/https.go deleted file mode 100644 index 00fca19..0000000 --- a/https.go +++ /dev/null @@ -1,18 +0,0 @@ -package main - -import ( - "fmt" - "net/http" -) - -func https() { - // http.HandleFunc("/", okHandler) - - 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 { - fmt.Println("Error starting HTTPS server:", err) - } -} -- cgit v1.2.3