Skip to content

Commit 9baf314

Browse files
committed
only show LE warning if using a domain
1 parent 59d7835 commit 9baf314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/server_listen.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ func (s *Server) listener(host, port string) (net.Listener, error) {
3838
return nil, err
3939
}
4040
tlsConf = c
41-
if port != "443" {
42-
extra = " (WARNING: lets-encrypt must connect to your domains on port 443)"
41+
if port != "443" && hasDomains {
42+
extra = " (WARNING: LetsEncrypt will attempt to connect to your domain on port 443)"
4343
}
4444
}
4545
//tcp listen

0 commit comments

Comments
 (0)