Add support to disable session ticket
This commit is contained in:
parent
bb7ef7b48a
commit
f0cd6f210b
18 changed files with 134 additions and 36 deletions
|
@ -325,7 +325,8 @@ func getDefaultCertificate(ctx context.Context, tlsStore Store, st *CertificateS
|
|||
// creates a TLS config that allows terminating HTTPS for multiple domains using SNI.
|
||||
func buildTLSConfig(tlsOption Options) (*tls.Config, error) {
|
||||
conf := &tls.Config{
|
||||
NextProtos: tlsOption.ALPNProtocols,
|
||||
NextProtos: tlsOption.ALPNProtocols,
|
||||
SessionTicketsDisabled: tlsOption.DisableSessionTickets,
|
||||
}
|
||||
|
||||
if len(tlsOption.ClientAuth.CAFiles) > 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue