diff options
author | Alan Pearce | 2024-06-25 18:02:18 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-25 18:09:28 +0200 |
commit | 398210c8ce4140de12720d3f16cc88284a146005 (patch) | |
tree | 2d8144b52870c97f8cd9b86738fd51b50cda0bf5 /internal/server/tls.go | |
parent | cd1125a213d742b5a89e8b60f0c7aafef13b8783 (diff) | |
download | website-398210c8ce4140de12720d3f16cc88284a146005.tar.lz website-398210c8ce4140de12720d3f16cc88284a146005.tar.zst website-398210c8ce4140de12720d3f16cc88284a146005.zip |
build with ko instead of nix
Diffstat (limited to 'internal/server/tls.go')
-rw-r--r-- | internal/server/tls.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/server/tls.go b/internal/server/tls.go index b60f474..afcaab6 100644 --- a/internal/server/tls.go +++ b/internal/server/tls.go @@ -42,6 +42,8 @@ func (s *Server) serveTLS() (err error) { certmagic.DefaultACME.Agreed = true certmagic.DefaultACME.Email = s.config.Email + certmagic.HTTPPort = s.runtimeConfig.Port + certmagic.HTTPSPort = s.runtimeConfig.TLSPort return certmagic.HTTPS(s.config.Domains, s.Server.Handler) } |