ngx_http_ssl_module 在
./nginx-1.24.0/src/http/modules/ngx_http_ssl_module.c:318:ngx_module_t ngx_http_ssl_module = {
ngx_module_t ngx_http_ssl_module = {NGX_MODULE_V1,&ngx_http_ssl_module_ctx, /* module context */ngx_http_ssl_commands, /* module directives */NGX_HTTP_MODULE, /* module type */NULL, /* init master */NULL, /* init module */NULL, /* init process */NULL, /* init thread */NULL, /* exit thread */NULL, /* exit process */NULL, /* exit master */NGX_MODULE_V1_PADDING
};
ngx_http_ssl_module_ctx
static ngx_http_module_t ngx_http_ssl_module_ctx = {ngx_http_ssl_add_variables, /* preconfiguration */ngx_http_ssl_init, /* postconfiguration */NULL, /* create main configuration */NULL, /* init main configuration */ngx_http_ssl_create_srv_conf, /* create server configuration */ngx_http_ssl_merge_srv_conf, /* merge server configuration */NULL, /* create location configuration */NULL /* merge location configuration */
};
ngx_http_ssl_module 的 create_srv_conf 函数是
ngx_http_ssl_create_srv_conf
ngx_http_ssl_create_srv_conf-CSDN博客