I’ve tried to redirect bucket objects by adding the x-amz-website-redirect-location: to objects but that does not appear to be working. Has anyone come up with other solutions?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

What endpoint are you testing via?

x-amz-website-redirect-location is only for use in static-sites endpoint.

edited by jarland

This is the bucket I’m using if that helps:

https://noventech.nyc3.digitaloceanspaces.com/

I’m trying to enable a bucket website to see if that would help. Can I upload the configuration file or do I need to use the API and use a PUT as shown here:

https://developers.digitalocean.com/documentation/spaces/#create-bucket-website

Submit an Answer