mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-22 20:41:56 +00:00
Updated S3 storage policies
This commit is contained in:
@@ -116,6 +116,7 @@ APP_DEFAULT_SECURE_HEADERS = {
|
|||||||
"fly.storage.tigris.dev", # for S3 object storage
|
"fly.storage.tigris.dev", # for S3 object storage
|
||||||
"s3.us-east-1.amazonaws.com", # 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-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)
|
# Add your own policies here (e.g. analytics)
|
||||||
],
|
],
|
||||||
"img-src": [
|
"img-src": [
|
||||||
@@ -201,7 +202,7 @@ FILES_REST_STORAGE_FACTORY = "invenio_s3.s3fs_storage_factory"
|
|||||||
S3_ENDPOINT_URL = "http://localhost:9000/"
|
S3_ENDPOINT_URL = "http://localhost:9000/"
|
||||||
S3_ACCESS_KEY_ID = "CHANGE_ME"
|
S3_ACCESS_KEY_ID = "CHANGE_ME"
|
||||||
S3_SECRET_ACCESS_KEY = "CHANGE_ME"
|
S3_SECRET_ACCESS_KEY = "CHANGE_ME"
|
||||||
S3_REGION_NAME = "us-east-1"
|
S3_REGION_NAME = "eu-west-1"
|
||||||
|
|
||||||
# Invenio-Records-Resources
|
# Invenio-Records-Resources
|
||||||
# =========================
|
# =========================
|
||||||
|
|||||||
Reference in New Issue
Block a user