aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_ssl_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2023-03-24 02:57:43 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2023-03-24 02:57:43 +0300
commit7b24b93d67daa9c16d665129fd5d3e7dbc583e4f (patch)
tree40a4275d354b98a296fa8f66f1077af4b73b22b9 /src/http/modules/ngx_http_ssl_module.c
parent2ca4355bf02ab454d6f216dab142816a626d7547 (diff)
downloadnginx-7b24b93d67daa9c16d665129fd5d3e7dbc583e4f.tar.gz
nginx-7b24b93d67daa9c16d665129fd5d3e7dbc583e4f.zip
SSL: enabled TLSv1.3 by default.
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
-rw-r--r--src/http/modules/ngx_http_ssl_module.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index 6fe5463df..4c4a598b1 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -632,8 +632,9 @@ ngx_http_ssl_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
ngx_conf_merge_value(conf->reject_handshake, prev->reject_handshake, 0);
ngx_conf_merge_bitmask_value(conf->protocols, prev->protocols,
- (NGX_CONF_BITMASK_SET|NGX_SSL_TLSv1
- |NGX_SSL_TLSv1_1|NGX_SSL_TLSv1_2));
+ (NGX_CONF_BITMASK_SET
+ |NGX_SSL_TLSv1|NGX_SSL_TLSv1_1
+ |NGX_SSL_TLSv1_2|NGX_SSL_TLSv1_3));
ngx_conf_merge_size_value(conf->buffer_size, prev->buffer_size,
NGX_SSL_BUFSIZE);