about summary refs log tree commit diff stats
path: root/internal/server
diff options
context:
space:
mode:
authorAlan Pearce2024-06-27 13:25:11 +0200
committerAlan Pearce2024-06-27 13:25:11 +0200
commit443e0053bcc71fdf33a54540ec2ac4495133da87 (patch)
treeeac524031adf2a5a01b3a4cde85815cfee3185b5 /internal/server
parentdb122cd2fd0c7210acafc3752dcffe926370cc28 (diff)
downloadwebsite-443e0053bcc71fdf33a54540ec2ac4495133da87.tar.lz
website-443e0053bcc71fdf33a54540ec2ac4495133da87.tar.zst
website-443e0053bcc71fdf33a54540ec2ac4495133da87.zip
remove firewall warning on macOS
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/tls.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/server/tls.go b/internal/server/tls.go
index ce2e69d..f7f8c07 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -54,6 +54,7 @@ func (s *Server) serveTLS() (err error) {
 			CA:                      s.runtimeConfig.ACMECA,
 			TrustedRoots:            cp,
 			DisableTLSALPNChallenge: true,
+			ListenHost:              s.runtimeConfig.ListenAddress,
 			AltHTTPPort:             s.runtimeConfig.Port,
 			AltTLSALPNPort:          s.runtimeConfig.TLSPort,
 		})