From 9c3bc782397a63f9e0626d9e6a3bcef3d11de56e Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 17 Jan 2023 15:50:42 +0330 Subject: update --- icanhazallips.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icanhazallips.go b/icanhazallips.go index bcca91e..218063c 100644 --- a/icanhazallips.go +++ b/icanhazallips.go @@ -50,5 +50,5 @@ func handler(w http.ResponseWriter, r *http.Request) { func main() { http.HandleFunc("/", handler) - log.Fatal(http.ListenAndServe(":8080", nil)) + log.Fatal(http.ListenAndServeTLS(":8080", "/certs/server.cert", "/certs/server.key", nil)) } -- cgit v1.2.3