mirror of
https://github.com/wassname/flask-s3.git
synced 2026-09-09 11:22:32 +08:00
Add docs for the S3_URL_STYLE setting
This commit is contained in:
@@ -184,6 +184,12 @@ uploading assets to S3.
|
||||
bucket name in the base url.
|
||||
`S3_BUCKET_NAME` The desired name for your Amazon S3 bucket. Note:
|
||||
the name will be visible in all your assets' URLs.
|
||||
`S3_URL_STYLE` Specifies the style for S3 URLs. Set to `'host'`
|
||||
to use virtual-host-style URLs, e.g.
|
||||
``bucketname.s3.amazonaws.com``. Set to `'path'`
|
||||
to use path-style URLs, e.g.
|
||||
``s3.amazonaws.com/bucketname``.
|
||||
**Default:** `'host'`
|
||||
`S3_USE_HTTPS` Specifies whether or not to serve your assets
|
||||
stored in S3 over HTTPS.
|
||||
**Default:** `True`
|
||||
|
||||
Reference in New Issue
Block a user