From 57b2392366280db0797df0f2d74a92c923512538 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Tue, 25 Aug 2015 15:23:27 +0800 Subject: [PATCH] doc: Fix typo ListAndServerTLS -> ListenAndServeTLS Signed-off-by: Chengwei Yang --- doc/setup/server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/setup/server.md b/doc/setup/server.md index ddb5b0466..d685271cb 100644 --- a/doc/setup/server.md +++ b/doc/setup/server.md @@ -18,7 +18,7 @@ SERVER_ADDR=":80" ## Server SSL -Drone uses the `ListAndServerTLS` function in the Go standard library to accept `https` connections. If you experience any issues configuring `https` please contact us on [gitter](https://gitter.im/drone/drone). Please do not log an issue saying `https` is broken in Drone (it isn't). +Drone uses the `ListenAndServeTLS` function in the Go standard library to accept `https` connections. If you experience any issues configuring `https` please contact us on [gitter](https://gitter.im/drone/drone). Please do not log an issue saying `https` is broken in Drone (it isn't). This example accepts `HTTPS` connections: