mirror of
https://github.com/omaha-consulting/winget.pro.git
synced 2026-10-25 13:19:46 +00:00
Add setting AWS_S3_PROXIES
This commit is contained in:
@@ -123,6 +123,8 @@ export AWS_DEFAULT_ACL=public-read
|
||||
export AWS_S3_CUSTOM_DOMAIN=cdn.winget.pro
|
||||
# To use a non-AWS S3 endpoint such as Linode, you can optionally set:
|
||||
export AWS_S3_HOST=us-east-1.linodeobjects.com
|
||||
# Optionally configure the proxy for S3 access:
|
||||
export AWS_S3_PROXIES="{'http': 'foo.bar:3128', 'http://hostname': 'foo.bar:4012'}"
|
||||
|
||||
######### Optional settings for using a pre-generated SSL certificate ##########
|
||||
|
||||
|
||||
@@ -118,6 +118,7 @@ if DEFAULT_FILE_STORAGE == 'storages.backends.s3boto3.S3Boto3Storage':
|
||||
AWS_S3_ENDPOINT_URL = 'https://' + AWS_S3_HOST
|
||||
AWS_DEFAULT_ACL = os.getenv('AWS_DEFAULT_ACL')
|
||||
AWS_S3_CUSTOM_DOMAIN = os.getenv('AWS_S3_CUSTOM_DOMAIN')
|
||||
AWS_S3_PROXIES = os.getenv('AWS_S3_PROXIES')
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user