diff options
| author | Jeff Carr <[email protected]> | 2024-01-12 12:26:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-12 12:26:05 -0600 |
| commit | f8ae1dee50c18b4d33036ed48c48d2111b35fe85 (patch) | |
| tree | ac032dbba4d2a8094a4f4ca9fbf1942521c28dd3 /https.go | |
| parent | a36fe665e9515529166f64aaec4c88af6dedace2 (diff) | |
almost completely working
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'https.go')
| -rw-r--r-- | https.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |
