aboutsummaryrefslogtreecommitdiffstats
path: root/icanhazallips.go
diff options
context:
space:
mode:
Diffstat (limited to 'icanhazallips.go')
-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))
}