diff options
| author | Jeff Carr <[email protected]> | 2025-06-30 04:43:38 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-06-30 04:51:54 -0500 |
| commit | 66e9297086d512771a9543b9e7a13af1bc2cf326 (patch) | |
| tree | a527cca1fb250deabd1e0b570bb22b0cb68eeafb /https.go | |
| parent | ce65cca994700ecc169b03faf2e38e8ddfdd18d4 (diff) | |
do some basic things on /v0.0.3
Diffstat (limited to 'https.go')
| -rw-r--r-- | https.go | 18 |
1 files changed, 0 insertions, 18 deletions
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) - } -} |
