Skip to content

Commit c9c2ae0

Browse files
authored
s3-proxy: expose x-amz-restore header via CORS (#4953)
1 parent f9b6e02 commit c9c2ae0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

s3-proxy/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ http {
3838
add_header 'Access-Control-Allow-Methods' $http_access_control_request_method always;
3939
add_header 'Access-Control-Allow-Origin' '*' always;
4040
add_header 'Access-Control-Max-Age' '3000' always;
41-
add_header 'Access-Control-Expose-Headers' 'Content-Length, Content-Range, ETag, x-amz-meta-helium, x-amz-bucket-region, x-amz-delete-marker, x-amz-request-id, x-amz-version-id, x-amz-storage-class' always;
41+
add_header 'Access-Control-Expose-Headers' 'Content-Length, Content-Range, ETag, x-amz-meta-helium, x-amz-bucket-region, x-amz-delete-marker, x-amz-request-id, x-amz-version-id, x-amz-storage-class, x-amz-restore' always;
4242

4343
# Return success on OPTIONS.
4444
if ($request_method = 'OPTIONS') {

0 commit comments

Comments
 (0)