Add tls session ticket key setting
This commit is contained in:
parent
cab6cd21b2
commit
29c0304921
4 changed files with 27 additions and 1 deletions
|
|
@ -209,6 +209,10 @@ http {
|
|||
# allow configuring ssl session tickets
|
||||
ssl_session_tickets {{ if $cfg.SSLSessionTickets }}on{{ else }}off{{ end }};
|
||||
|
||||
{{ if not (empty $cfg.SSLSessionTicketKey ) }}
|
||||
ssl_session_ticket_key /etc/nginx/tickets.key;
|
||||
{{ end }}
|
||||
|
||||
# slightly reduce the time-to-first-byte
|
||||
ssl_buffer_size {{ $cfg.SSLBufferSize }};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue