amazon s3 - Using django-storages and the s3boto backend: x-amz-security-token is appended which I do not want -
i'm serving static content s3 django-storages. works fine when using boto 2.5.x. when utilize boto >= 2.6 url s3 media mangled; variable appended. difference x-amz-security-token gets appended (which not want). media not accessible @ url.
in settings.py use
aws_querystring_auth = false
the bad url:
https://mybucket.s3.amazonaws.com/static/style/css/layout.min.css?x-amz-security-token=aqodyxdzekj/76arnkweaoalum866m8z6kc4af/76arnkjdct70xsvb58kr%2bonylf7y1z1pgqux7fprxvqjp9dyozzcvdhcv27zybd/ipyt2c6rcenvkqvhcq....
any suggestions?
try add together in settings.py
aws_s3_secure_urls = false
django amazon-s3 boto
No comments:
Post a Comment