AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Localhost access control allow origin4/28/2024 ![]() Configure the CloudFront distribution's cache behavior to allow the OPTIONS method for HTTP requests Note: Be sure also to forward the header as part of your client request to CloudFront, which CloudFront forwards to the origin. Choose Add custom to add headers required by your origin that don't appear in dropdown list. In the Headers dropdown list, choose the headers required by your origin.Under Cache key and origin requests, select Legacy cache settings.To forward the headers using legacy cache settings: Attach the cache policy to the behavior of your CloudFront distribution.Fill in the cache policy settings as required by the behavior that you're attaching the policy to.From the Add header dropdown list, choose one of the headers required by your origin. Under Cache key settings, for Headers, select Include the following headers.To forward the headers using a cache policy: Or, choose Save changes if you're editing an existing behavior. Note: To create your own cache policy instead, see Creating cache policies. For more information, see Using the managed origin request policies. Then, for Origin request policy, choose CORS-S3Origin or CORS-CustomOrigin from the dropdown list. Under Cache key and origin requests, choose Cache policy and origin request policy.Or, select an existing behavior, and then choose Edit. ![]()
0 Comments
Read More
Leave a Reply. |