diff options
author | terminaldweller <thabogre@gmail.com> | 2023-01-17 12:20:42 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-01-17 12:20:42 +0000 |
commit | 9c3bc782397a63f9e0626d9e6a3bcef3d11de56e (patch) | |
tree | fa78263d26a53f8890806301c9f3e249a87f3c19 | |
parent | first commit (diff) | |
download | icanhazallips-9c3bc782397a63f9e0626d9e6a3bcef3d11de56e.tar.gz icanhazallips-9c3bc782397a63f9e0626d9e6a3bcef3d11de56e.zip |
update
-rw-r--r-- | icanhazallips.go | 2 |
1 files changed, 1 insertions, 1 deletions
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)) } |