From 32fb245f2358b1c280eee437075ddc9295086fb3 Mon Sep 17 00:00:00 2001 From: Hakase Date: Sat, 22 Sep 2018 12:35:33 +0900 Subject: [PATCH] Change default value. --- src/http/modules/ngx_http_ssl_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index 54d23f4..d7b0fe7 100644 --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -641,12 +641,12 @@ ngx_http_ssl_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) } ngx_conf_merge_value(conf->session_timeout, - prev->session_timeout, 300); + prev->session_timeout, 86400); ngx_conf_merge_value(conf->prefer_server_ciphers, prev->prefer_server_ciphers, 1); - ngx_conf_merge_value(conf->early_data, prev->early_data, 0); + ngx_conf_merge_value(conf->early_data, prev->early_data, 1); ngx_conf_merge_bitmask_value(conf->protocols, prev->protocols, (NGX_CONF_BITMASK_SET|NGX_SSL_TLSv1