1
0
Fork 0

Support AWS_S3_URL_PROTOCOL

- Allow setting in .env
- Default to PROTOCOL (same as before)
- Propagate to django-storages so it generates the correct URLs in sass_src
This commit is contained in:
Bart Schuurmans 2024-03-27 22:58:43 +01:00
parent 70f803a1f6
commit be872ed672
2 changed files with 16 additions and 4 deletions

View file

@ -82,6 +82,7 @@ S3_SIGNED_URL_EXPIRY=900
# AWS_STORAGE_BUCKET_NAME= # "example-bucket-name"
# AWS_S3_CUSTOM_DOMAIN=None # "example-bucket-name.s3.fr-par.scw.cloud"
# AWS_S3_URL_PROTOCOL=None # "http:"
# AWS_S3_REGION_NAME=None # "fr-par"
# AWS_S3_ENDPOINT_URL=None # "https://s3.fr-par.scw.cloud"