Cloudfront and bucket directories question
-
Good day! I’m testing the plugin and it’s great that I can configure a Cloudfront distribution to serve the media.
What I see is that the plugin assumes that the CF points to the root of the bucket.
I have my CF distribution pointing to a subdirectory of the bucket, so the URL should be pointing directly to the content.
Example:
Bucket: mybucket
Cloudfront: media.mysite.com (CNAME to my CF)
Cloudfront pointing to: mybucket/wp/media
Upload to: mybucket/wp/media/wp-content/uploads
Delivery from: media.mysite.com
Is there any way I can differenciate between the upload route/directory and the delivery sub-route, so that it serves directly from the CNAME used without all the unfriendly “/wp/media/…”?
Thank you
- The topic ‘Cloudfront and bucket directories question’ is closed to new replies.