2 Answers
- Newest
- Most votes
- Most comments
1
Thanks. What about putting CloudFront in front of Workdocs endpoints? CloudFront has the ability to add response headers.
answered 2 years ago
1
Hi,
AWS WorkDocs is a managed service, meaning that AWS manages the underlying infrastructure for you. As of today, you cannot change the behaviour of the endpoint of your WorkDocs site. If you need to add custom heards, one possible workaround would be to create a simple web application that serves as a proxy and uses the WorkDocs API to interact with WorkDocs. However, this would require developing and maintaining an additional web application, and there would likely be additional costs associated with hosting and operating the web application.
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a day ago
Yes, that would be an option. Please refer to this article for information: https://repost.aws/knowledge-center/cloudfront-http-security-headers
And please upvote my above answer if it was helpful.
Is there any guides as to how to set up the distribution to work with the existing WorkDocs site? I'm having troubles using the CloudFront domain to return anything but an error.