mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-24 08:12:31 +02:00
Fixing type error in SSL Static mode
This commit is contained in:
parent
58bed075fd
commit
c5200e0a1a
@ -121,7 +121,7 @@ func (h *Http) Run(ctx context.Context) error {
|
||||
err := httpServer.ListenAndServe()
|
||||
log.Printf("[WARN] http redirect server terminated, %s", err)
|
||||
}()
|
||||
return httpServer.ListenAndServeTLS(h.SSLConfig.Cert, h.SSLConfig.Key)
|
||||
return httpsServer.ListenAndServeTLS(h.SSLConfig.Cert, h.SSLConfig.Key)
|
||||
case SSLAuto:
|
||||
log.Printf("[INFO] activate https server in 'auto' mode on %s", h.Address)
|
||||
log.Printf("[DEBUG] FQDNs %v", h.SSLConfig.FQDNs)
|
||||
|
Loading…
Reference in New Issue
Block a user