You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured 'aws_sign' in my server block and I'm getting a 403 error since the ngx_http_aws_proxy_sign function is returning NGX_DECLINED since conf->enabled is 0.
When I move the 'aws_sign' configuration to the location block, the request is being sent sucessfully.
Upon further debugging, I found that the enabled variable from server block is not being merged to the location configuration.
The directive declaration has 'NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF'.
Can anyone help me understand why the ngx_http_aws_auth_merge_loc_conf() function is not merging conf->enabled ?
The text was updated successfully, but these errors were encountered:
I configured 'aws_sign' in my server block and I'm getting a 403 error since the ngx_http_aws_proxy_sign function is returning NGX_DECLINED since conf->enabled is 0.
When I move the 'aws_sign' configuration to the location block, the request is being sent sucessfully.
Upon further debugging, I found that the enabled variable from server block is not being merged to the location configuration.
The directive declaration has 'NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF'.
Can anyone help me understand why the ngx_http_aws_auth_merge_loc_conf() function is not merging conf->enabled ?
The text was updated successfully, but these errors were encountered: