about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-28 16:10:58 +0200
committerAlan Pearce2024-06-28 16:10:58 +0200
commit476b2f44e2938b40344f8dd27c1d37fdfe6604e9 (patch)
tree3aa39e061cbbb89e5586ce000e77f18dd9b74125
parent82baf3c72e8aeec606b2c3fcd34b7ad8b4e1bc40 (diff)
downloadwebsite-476b2f44e2938b40344f8dd27c1d37fdfe6604e9.tar.lz
website-476b2f44e2938b40344f8dd27c1d37fdfe6604e9.tar.zst
website-476b2f44e2938b40344f8dd27c1d37fdfe6604e9.zip
log configured HTTP/S ports instead of defaults
-rw-r--r--internal/server/tls.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/server/tls.go b/internal/server/tls.go
index f7f8c07..f538f88 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -84,9 +84,9 @@ func (s *Server) serveTLS() (err error) {
 	log.Debug(
 		"starting certmagic",
 		"http_port",
-		certmagic.HTTPPort,
+		s.runtimeConfig.Port,
 		"https_port",
-		certmagic.HTTPSPort,
+		s.runtimeConfig.TLSPort,
 	)
 	err = cfg.ManageSync(context.TODO(), s.config.Domains)
 	if err != nil {