Skip to content

Commit

Permalink
allow NGINX primitives in if block within location block in http block
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Jun 19, 2024
1 parent 6537014 commit a64a58e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
06/19/2024
- add NGINX macros/functions for setting claim variables in the request context
see OpenIDC/ngx_oauth2_module#7; thanks @@smanolache and @pladen
- allow NGINX primitives in an if block within a location block in the http block
- bump to 1.6.3dev
.
06/05/2024
Expand Down
2 changes: 1 addition & 1 deletion include/oauth2/nginx.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
#define OAUTH2_NGINX_CMD(take, module, directive, primitive) \
{ \
ngx_string(directive), \
NGX_HTTP_LOC_CONF | NGX_CONF_TAKE##take, \
NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE##take, \
ngx_##module##_set_##primitive, NGX_HTTP_LOC_CONF_OFFSET, \
0, NULL \
}
Expand Down

0 comments on commit a64a58e

Please sign in to comment.