Citești documentația Next. Documentația curentă este 1.0.

Mergi la 1.0

Pagina aceasta nu e tradusă încă în Română, așa că e afișată în English.

Guide

Storage & uploads

Choose where images and files go in Admin → Settings → Storage.

DriverTypical useConfiguration
Public (local)One server, simplest setupFiles live in storage/app/public , served through public/storage .
Amazon S3Managed object storageAccess key, secret, region, bucket, and optionally a CloudFront CDN with signed addresses.
DigitalOcean SpacesS3-compatible object storageAccess key, secret, region, bucket.
WasabiS3-compatible object storageAccess key, secret, region, bucket.
MinIOSelf-hosted object storageAccess key, secret, region, bucket, endpoint.
PushrObject storage with a CDNAccess key, secret, bucket, endpoint, CDN hostname.
Cloudflare R2S3-compatible edge storageAccess key, secret, bucket, region, endpoint, public address.

Create the bucket first, give the credentials access to that bucket only, and set CORS rules for your domain if browsers read objects directly. After saving, upload an image to a page and open it from the published docs.

Private docs and files. On cloud storage, files of password-protected and members-only sites are served through short-lived links, so a saved address stops working. On local disk, files have unguessable names, and anyone who has the exact address can open them. Tell customers with sensitive docs to pick cloud storage, or keep sensitive material out of images and attachments.

Uploads count toward the workspace's storage limit when billing is on.

Upload limits

Admin → Settings → Media sets the largest image or file editors can put on a page, the allowed file extensions, avatar sizes, and whether large files upload in parts. Uploading in parts (a few MB each) gets around low upload limits on shared hosting and behind Cloudflare; a 100 MB import then arrives as many small requests.