feat: listen https.
This commit is contained in:
		@ -28,7 +28,7 @@ func (engine *Engine) RunAutoTLS(domain ...string) (err error) {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	s := &http.Server{
 | 
						s := &http.Server{
 | 
				
			||||||
		Addr:      ":443",
 | 
							Addr:      ":https",
 | 
				
			||||||
		TLSConfig: &tls.Config{GetCertificate: AutoTLSManager.GetCertificate},
 | 
							TLSConfig: &tls.Config{GetCertificate: AutoTLSManager.GetCertificate},
 | 
				
			||||||
		Handler:   engine,
 | 
							Handler:   engine,
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user