internal: fix crash when port 9000 is in use (#4863)
fix crash when port 9000 is in use Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -43,7 +43,7 @@ func (ws *WebServer) listenTLS() {
|
||||
|
||||
ln, err := net.Listen("tcp", config.Get().Listen.HTTPS)
|
||||
if err != nil {
|
||||
ws.log.WithError(err).Fatalf("failed to listen (TLS)")
|
||||
ws.log.WithError(err).Warning("failed to listen (TLS)")
|
||||
return
|
||||
}
|
||||
proxyListener := &proxyproto.Listener{Listener: web.TCPKeepAliveListener{TCPListener: ln.(*net.TCPListener)}}
|
||||
|
Reference in New Issue
Block a user