I'm using China aws s3 service, it's a private region.
I can set a ~/.aws/config to:
[default]
region = cn-north-1
and aws cli can be used.
But how can I configure django-storages to connect this region?
I tried to set settings AWS_LOCATION='cn-north-1'
But this setting seems add prefix to file path.
I fix it in settings:
AWS_S3_HOST="s3.cn-north-1.amazonaws.com.cn"
Most helpful comment
I fix it in settings: