Updated S3 storage policies

This commit is contained in:
2025-02-18 11:51:55 +00:00
parent 7e00b2e6bf
commit 82f4172409

View File

@@ -116,6 +116,7 @@ APP_DEFAULT_SECURE_HEADERS = {
"fly.storage.tigris.dev", # for S3 object storage
"s3.us-east-1.amazonaws.com", # for S3 object storage
"s3.eu-central-1.amazonaws.com", # for S3 object storage
"s3.eu-west-1.amazonaws.com", # for S3 object storage
# Add your own policies here (e.g. analytics)
],
"img-src": [
@@ -201,7 +202,7 @@ FILES_REST_STORAGE_FACTORY = "invenio_s3.s3fs_storage_factory"
S3_ENDPOINT_URL = "http://localhost:9000/"
S3_ACCESS_KEY_ID = "CHANGE_ME"
S3_SECRET_ACCESS_KEY = "CHANGE_ME"
S3_REGION_NAME = "us-east-1"
S3_REGION_NAME = "eu-west-1"
# Invenio-Records-Resources
# =========================