@@ -6,7 +6,7 @@ use ngx::core;
6
6
use ngx:: ffi:: {
7
7
ngx_array_push, ngx_command_t, ngx_conf_t, ngx_http_core_module, ngx_http_handler_pt, ngx_http_module_t,
8
8
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 ,
10
10
} ;
11
11
use ngx:: http:: * ;
12
12
use 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] = [
46
46
name : ngx_string ! ( "awssigv4" ) ,
47
47
type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
48
48
set : Some ( ngx_http_awssigv4_commands_set_enable) ,
49
- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
49
+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
50
50
offset : 0 ,
51
51
post : std:: ptr:: null_mut ( ) ,
52
52
} ,
53
53
ngx_command_t {
54
54
name : ngx_string ! ( "awssigv4_access_key" ) ,
55
55
type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
56
56
set : Some ( ngx_http_awssigv4_commands_set_access_key) ,
57
- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
57
+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
58
58
offset : 0 ,
59
59
post : std:: ptr:: null_mut ( ) ,
60
60
} ,
61
61
ngx_command_t {
62
62
name : ngx_string ! ( "awssigv4_secret_key" ) ,
63
63
type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
64
64
set : Some ( ngx_http_awssigv4_commands_set_secret_key) ,
65
- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
65
+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
66
66
offset : 0 ,
67
67
post : std:: ptr:: null_mut ( ) ,
68
68
} ,
69
69
ngx_command_t {
70
70
name : ngx_string ! ( "awssigv4_s3_bucket" ) ,
71
71
type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
72
72
set : Some ( ngx_http_awssigv4_commands_set_s3_bucket) ,
73
- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
73
+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
74
74
offset : 0 ,
75
75
post : std:: ptr:: null_mut ( ) ,
76
76
} ,
77
77
ngx_command_t {
78
78
name : ngx_string ! ( "awssigv4_s3_endpoint" ) ,
79
79
type_ : ( NGX_HTTP_LOC_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_TAKE1 ) as ngx_uint_t ,
80
80
set : Some ( ngx_http_awssigv4_commands_set_s3_endpoint) ,
81
- conf : NGX_RS_HTTP_LOC_CONF_OFFSET ,
81
+ conf : NGX_HTTP_LOC_CONF_OFFSET ,
82
82
offset : 0 ,
83
83
post : std:: ptr:: null_mut ( ) ,
84
84
} ,
0 commit comments