diff --git a/app/views/libraries/_form.html.erb b/app/views/libraries/_form.html.erb index f6d0e2efb..6eefe558f 100644 --- a/app/views/libraries/_form.html.erb +++ b/app/views/libraries/_form.html.erb @@ -20,6 +20,7 @@ <%= text_input_row form, :s3_region, autocomplete: false %> <%= text_input_row form, :s3_access_key_id, autocomplete: false %> <%= password_input_row form, :s3_secret_access_key, autocomplete: false %> + <%= checkbox_input_row form, :s3_path_style, help: t(".s3_path_style.help") %> diff --git a/config/locales/en.yml b/config/locales/en.yml index c9bac95fa..16eb53098 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -28,6 +28,7 @@ en: s3_access_key_id: Access Key ID s3_bucket: Bucket Name s3_endpoint: Endpoint URL + s3_path_style: Use path-style URLs s3_region: Region s3_secret_access_key: Secret Access Key storage_service: Storage Service diff --git a/config/locales/libraries/en.yml b/config/locales/libraries/en.yml index 55b573aa8..e981235f8 100644 --- a/config/locales/libraries/en.yml +++ b/config/locales/libraries/en.yml @@ -23,6 +23,8 @@ en: s3_description_html: Manyfold can use any S3-compatible object storage for your library; this could be from any of a large number of open source or commercial services. s3_endpoint: help: Optional; only needed for S3-compatible services, not AWS. + s3_path_style: + help: Disable to use vhost-style bucket URLs. Only used for S3-compatible services, not AWS. tag_regex: help: Check for models missing tags matching these regex. general: