Skip to content

realmacaw/strapi-provider-upload-aws-s3-cloudfront

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This is just a slight change to strapi-provider-upload-aws-s3

package.json:

{
  ...

  "dependencies": {
    "strapi-provider-upload-aws-s3-cloudfront": "3.6.4"
  }

  ...

}

config/plugins.js:

module.exports = ({ env }) => {
  //...
  upload: {
    provider: 'aws-s3-cloudfront',
    providerOptions: {
      accessKeyId: env('AWS_S3_KEY'),
      secretAccessKey: env('AWS_S3_SECRET'),
      region: env('AWS_S3_REGION'),
      params: {
        Bucket: env('AWS_S3_BUCKET'),
      },
      cdn: env('AWS_CLOUDFRONT')
    },
  },
  //...
};

About

Strapi CMS upload provider using AWS S3 with cloudfront cdn option

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%