Skip to content

sunnysonx/strapi-provider-upload-bunnycdn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strapi-provider-upload-bunnycdn

BunnyCDN Upload Provider for Strapi

Configurations

See the using a provider documentation for information on installing and using a provider. And see the environment variables for setting and using environment variables in your configs.

Example

./config/plugins.js

module.exports = ({ env }) => ({
  //...
  upload: {
    provider: 'bunnycdn',
    providerOptions: {
      region: env('BUNNYCDN_HOST'),
      apiKey: env('BUNNYCDN_API_KEY'),
      storageZone: env('BUNNYCDN_STORAGE_ZONE'),
      pullZone: env('BUNNYCDN_PULL_ZONE')
    },
  },
  //...
});

.env

BUNNYCDN_HOST: Storage primary Hostname (Inside FTP & API Access).
BUNNYCDN_API_KEY: Storage Password (Inside FTP & API Access).
BUNNYCDN_STORAGE_ZONE: Storage Zone name.
BUNNYCDN_PULL_ZONE: Pull Zone name.

About

BunnyCDN Upload Provider for Strapi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%