about summary refs log tree commit diff stats
path: root/internal/server/tls.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/tls.go')
-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 ebf76a2..1a79e9c 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -113,6 +113,7 @@ func (s *Server) serveTLS() (err error) {
 			url.Host = net.JoinHostPort(host, s.config.BaseURL.Port())
 			http.Redirect(w, r, url.String(), http.StatusMovedPermanently)
 		})
+		srv.Handler = httpMux
 
 		if err := srv.Serve(ln); err != nil && !errors.Is(err, http.ErrServerClosed) {
 			log.Error("error in http handler", "error", err)