1

Is it possible that you have the Object Lock (WORM) feature enabled? That would block delete operations.


1

you need proxy_set_header Host "cdn domain" ; to rewrite your nginx request host from nginx to cdn


1

Second command worked fine for me aws s3api put-bucket-lifecycle-configuration --bucket <bucket> --lifecycle-configuration file://<file> Where <file> is the file obtained with this command aws s3api get-bucket-lifecycle-configuration --bucket <bucket-old> ><file>


Only top voted, non community-wiki answers of a minimum length are eligible