ngx_http_gzip_static_module 的 create_loc_conf 函数

ngx_http_gzip_static_module 在

./nginx-1.24.0/src/http/modules/ngx_http_gzip_static_module.c:66:ngx_module_t ngx_http_gzip_static_module = {

ngx_module_t  ngx_http_gzip_static_module = {
    NGX_MODULE_V1,
    &ngx_http_gzip_static_module_ctx,      /* module context */
    ngx_http_gzip_static_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_gzip_static_module_ctx
static ngx_http_module_t  ngx_http_gzip_static_module_ctx = {
    NULL,                                  /* preconfiguration */
    ngx_http_gzip_static_init,             /* postconfiguration */

    NULL,                                  /* create main configuration */
    NULL,                                  /* init main configuration */

    NULL,                                  /* create server configuration */
    NULL,                                  /* merge server configuration */

    ngx_http_gzip_static_create_conf,      /* create location configuration */
    ngx_http_gzip_static_merge_conf        /* merge location configuration */
};
ngx_http_gzip_static_module 的 create_loc_conf 函数是
ngx_http_gzip_static_create_conf

ngx_http_gzip_static_create_conf

你可能感兴趣的:(nginx)