force path style to true for minio

part of cloudron/box#680
This commit is contained in:
Girish Ramakrishnan
2020-05-27 17:48:51 -07:00
parent dea1f01998
commit ca09f64c12
+1
View File
@@ -419,6 +419,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
} else if (backupConfig.provider === 'minio' || backupConfig.provider === 's3-v4-compat') {
backupConfig.region = 'us-east-1';
backupConfig.acceptSelfSignedCerts = $scope.configureBackup.acceptSelfSignedCerts;
backupConfig.s3ForcePathStyle = true; // might want to expose this in the UI
} else if (backupConfig.provider === 'exoscale-sos') {
backupConfig.region = 'us-east-1';
backupConfig.signatureVersion = 'v4';