@@ -6,7 +6,7 @@ use ngx::core;
66use ngx:: ffi:: {
77 ngx_array_push, ngx_command_t, ngx_conf_t, ngx_http_core_module, ngx_http_handler_pt, ngx_http_module_t,
88 ngx_http_phases_NGX_HTTP_PRECONTENT_PHASE, ngx_int_t, ngx_module_t, ngx_str_t, ngx_uint_t, NGX_CONF_TAKE1 ,
9- NGX_HTTP_LOC_CONF , NGX_HTTP_MODULE , NGX_HTTP_SRV_CONF , NGX_RS_HTTP_LOC_CONF_OFFSET ,
9+ NGX_HTTP_LOC_CONF , NGX_HTTP_LOC_CONF_OFFSET , NGX_HTTP_MODULE , NGX_HTTP_SRV_CONF ,
1010} ;
1111use ngx:: http:: * ;
1212use ngx:: { http_request_handler, ngx_log_debug_http, ngx_null_command, ngx_string} ;
@@ -46,39 +46,39 @@ static mut NGX_HTTP_AWSSIGV4_COMMANDS: [ngx_command_t; 6] = [
4646 name : ngx_string ! ( "awssigv4" ) ,
4747 type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
4848 set : Some ( ngx_http_awssigv4_commands_set_enable) ,
49- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
49+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
5050 offset : 0 ,
5151 post : std:: ptr:: null_mut ( ) ,
5252 } ,
5353 ngx_command_t {
5454 name : ngx_string ! ( "awssigv4_access_key" ) ,
5555 type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
5656 set : Some ( ngx_http_awssigv4_commands_set_access_key) ,
57- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
57+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
5858 offset : 0 ,
5959 post : std:: ptr:: null_mut ( ) ,
6060 } ,
6161 ngx_command_t {
6262 name : ngx_string ! ( "awssigv4_secret_key" ) ,
6363 type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
6464 set : Some ( ngx_http_awssigv4_commands_set_secret_key) ,
65- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
65+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
6666 offset : 0 ,
6767 post : std:: ptr:: null_mut ( ) ,
6868 } ,
6969 ngx_command_t {
7070 name : ngx_string ! ( "awssigv4_s3_bucket" ) ,
7171 type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
7272 set : Some ( ngx_http_awssigv4_commands_set_s3_bucket) ,
73- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
73+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
7474 offset : 0 ,
7575 post : std:: ptr:: null_mut ( ) ,
7676 } ,
7777 ngx_command_t {
7878 name : ngx_string ! ( "awssigv4_s3_endpoint" ) ,
7979 type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
8080 set : Some ( ngx_http_awssigv4_commands_set_s3_endpoint) ,
81- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
81+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
8282 offset : 0 ,
8383 post : std:: ptr:: null_mut ( ) ,
8484 } ,
0 commit comments