Skip to content

Commit

Permalink
ngx_http_lua_kong_add_vars
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Oct 10, 2023
1 parent ccc5aba commit 4256b37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/ngx_http_lua_kong_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@ ngx_http_lua_kong_ctx_t *ngx_http_lua_kong_get_module_ctx(
char *ngx_http_lua_kong_error_log_init(
ngx_conf_t *cf);

ngx_int_t
ngx_http_lua_kong_add_vars(ngx_conf_t *cf);

#endif /* _NGX_HTTP_LUA_KONG_COMMON_H_INCLUDED_ */
2 changes: 1 addition & 1 deletion src/ngx_http_lua_kong_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static char* ngx_http_lua_kong_merge_loc_conf(ngx_conf_t *cf, void *parent, void


static ngx_http_module_t ngx_http_lua_kong_module_ctx = {
NULL, /* preconfiguration */
ngx_http_lua_kong_add_vars, /* preconfiguration */
ngx_http_lua_kong_init, /* postconfiguration */

NULL, /* create main configuration */
Expand Down

0 comments on commit 4256b37

Please sign in to comment.