set default TLS server name
Alan Pearce alan@alanpearce.eu
Wed, 26 Jun 2024 15:29:14 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M internal/server/tls.go → internal/server/tls.go
@@ -42,6 +42,7 @@ } certmagic.DefaultACME.Agreed = true certmagic.DefaultACME.Email = s.config.Email + certmagic.Default.DefaultServerName = s.config.Domains[0] certmagic.HTTPPort = s.runtimeConfig.Port certmagic.HTTPSPort = s.runtimeConfig.TLSPort