Add nginx ssl_early_data option support

This commit is contained in:
Maxime Ginters 2019-08-07 16:04:09 -04:00
parent 041a8457aa
commit 7219130da4
3 changed files with 19 additions and 0 deletions

View file

@ -353,6 +353,8 @@ http {
ssl_protocols {{ $cfg.SSLProtocols }};
ssl_early_data {{ if $cfg.SSLEarlyData }}on{{ else }}off{{ end }};
# turn on session caching to drastically improve performance
{{ if $cfg.SSLSessionCache }}
ssl_session_cache builtin:1000 shared:SSL:{{ $cfg.SSLSessionCacheSize }};