You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had this working just fine when I used my-bucket-name.s3.amazonaws.com/ as the default storage for my site. Last night I set up CloudFlare to proxy the requests through. In doing this you do the following:
create a bucket name that matches the CNAME you want to serve through (cdn.mysite.com) so that the url would be cdn.mysite.com.s3.amazonaws......
in the CloudFlare DNS panel, you setup a CNAME for cdn.mysite.com to redirect to cdn.mysite.com.s3.amazonaws.com
presto, magic works.
however, when it was using my-bucket-name.s3, it django was automatically signing all of the requests for the content, which I want it to do... but when I switched to the cdn, it stopped, and I had to open the bucket up to public viewing, which I do not want.
The text was updated successfully, but these errors were encountered:
Hi @dacrowlah and thanks for the report! What version of 3.4 are you using and do you have a traceback? I'm wondering if this is related to #13 which references an upstream boto bug. Depending on the traceback switching your CallingFormat might fix this issue. More information would be great!
I haven't seen any tracebacks/exceptions. Pardon, but this is my first
django app, and I haven't seen a log file anywhere (tho I imagine its there
somewhere). I'm running in debug mode, and dont see anything.
Hi @dacrowlahhttps://github.com/dacrowlah and thanks for the report!
What version of 3.4 are you using and do you have a traceback? I'm
wondering if this is related to #13 #13 which
references an upstream boto bug. Depending on the traceback switching your
CallingFormat might fix this issue. More information would be great!
—
Reply to this email directly or view it on GitHub #18 (comment)
.
I had this working just fine when I used my-bucket-name.s3.amazonaws.com/ as the default storage for my site. Last night I set up CloudFlare to proxy the requests through. In doing this you do the following:
however, when it was using my-bucket-name.s3, it django was automatically signing all of the requests for the content, which I want it to do... but when I switched to the cdn, it stopped, and I had to open the bucket up to public viewing, which I do not want.
The text was updated successfully, but these errors were encountered: