Signed-off-by: Konstantin Monakhov <stangerkm@gmail.com>
set $do_not_cache "no";
set $date $http_x_amz_date;
}
- proxy_set_header if_match $http_if_match;
+ proxy_set_header if-match $http_if_match;
proxy_set_header Range $myrange;
# Use the original x-amz-date if the aws auth module didn't create one
proxy_set_header x-amz-date $date;
if ($request_uri ~* (\?)) {
set $do_not_cache "no";
}
+ proxy_set_header if-match $http_if_match;
# Use the original x-amz-date if the aws auth module didn't create one
proxy_no_cache $do_not_cache;
proxy_set_header Authorization $http_authorization;
set $do_not_cache "no";
set $date $http_x_amz_date;
}
- proxy_set_header if_match $http_if_match;
+ proxy_set_header if-match $http_if_match;
# Use the original x-amz-date if the aws auth module didn't create one
proxy_set_header x-amz-date $date;
proxy_set_header X-Amz-Cache $authvar;