aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-01-17 12:20:42 +0000
committerterminaldweller <thabogre@gmail.com>2023-01-17 12:20:42 +0000
commit9c3bc782397a63f9e0626d9e6a3bcef3d11de56e (patch)
treefa78263d26a53f8890806301c9f3e249a87f3c19
parentfirst commit (diff)
downloadicanhazallips-9c3bc782397a63f9e0626d9e6a3bcef3d11de56e.tar.gz
icanhazallips-9c3bc782397a63f9e0626d9e6a3bcef3d11de56e.zip
update
-rw-r--r--icanhazallips.go2
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))
}