Skip to content

tijsdriven/m2-module-alibabacloud-oss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

This module enables any AlibabaCloud OSS bucket to be used as remote storage drive for the Magento media files.

Configuration

Most of the configuration the module uses will be taken from the main TijsDriven_AlibabaCloud module configuration. Check that module to see how to configure. Once configuration is done successfully, no additional work should be needed to use the OSS as the media remote storage.

'remote_storage' => [
    'driver' => 'tijsdriven-alibabacloud-oss',
    'prefix' => '',
    'config' => [
        'region' => 'oss-cn-hangzhou',
        'bucket' => 'my-oss-bucket',
    ]
]

Usage

Magento will use the OSS bucket automatically for the pub/media folder. Also, for example the .maintenance.flag will be stored on the OSS so all Magento instances will be aware the system is in maintenance mode.

AlibabaCloud Resources

About

Add Aliyun OSS remote storage support to Magento

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages