Skip to content
Simon Bartlett edited this page Feb 3, 2015 · 13 revisions

Files

To configure which file storage provider is used, modify the files.provider property. Only one provider can be anabled (unlike authentication providers).

files:
  enable: true
  provider: local
  allowed_file_types:
    - 'image/jpeg'
    - 'image/png'
    - 'image/gif'

File storage providers

Local file storage

files:
  local:
    upload_dir: uploads

S3 file storage

files:
  s3:
    accessKeyId:
    secretAccessKey:
    bucket:
    region: