Klaus Demo nginx / 658a84f
SSL: deprecated the "ssl" directive. Ruslan Ermilov 4 years ago
2 changed file(s) with 12 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
7070 };
7171
7272
73 static ngx_conf_deprecated_t ngx_http_ssl_deprecated = {
74 ngx_conf_deprecated, "ssl", "listen ... ssl"
75 };
76
77
7378 static ngx_command_t ngx_http_ssl_commands[] = {
7479
7580 { ngx_string("ssl"),
7782 ngx_http_ssl_enable,
7883 NGX_HTTP_SRV_CONF_OFFSET,
7984 offsetof(ngx_http_ssl_srv_conf_t, enable),
80 NULL },
85 &ngx_http_ssl_deprecated },
8186
8287 { ngx_string("ssl_certificate"),
8388 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1,
5555 };
5656
5757
58 static ngx_conf_deprecated_t ngx_mail_ssl_deprecated = {
59 ngx_conf_deprecated, "ssl", "listen ... ssl"
60 };
61
62
5863 static ngx_command_t ngx_mail_ssl_commands[] = {
5964
6065 { ngx_string("ssl"),
6267 ngx_mail_ssl_enable,
6368 NGX_MAIL_SRV_CONF_OFFSET,
6469 offsetof(ngx_mail_ssl_conf_t, enable),
65 NULL },
70 &ngx_mail_ssl_deprecated },
6671
6772 { ngx_string("starttls"),
6873 NGX_MAIL_MAIN_CONF|NGX_MAIL_SRV_CONF|NGX_CONF_TAKE1,