Resource Storage Configuration

📅 November 21, 2026 👁️ 0

Resource Storage Configuration

Resource storage configuration is used to select the storage location for uploading images and files, supporting local storage and multiple cloud storage options.

Entry Path

Back-end top menu →「Function」→「System Function」→「Resource Storage Configuration」. Actual address:/system/plugin/system/storagerequires administrative privileges(canAdmin)

Function description

The page provides storage method selection and「Resource Address」configuration, supporting local storage, Alibaba Cloud, Tencent Cloud, Qiniu Cloud, UCloud, Google Cloud, Amazon S3, Cloudflare R2, FTP, SFTP.

Screenshot of the interface

Resource Storage Configuration

Setting item description

Setting items function Value / Default How to select / Fill in suggestions Impact / Note
Storage method Determine the storage location of new uploaded resources Single selection of 10 items: Local storage (default [source code]), Alibaba Cloud, Tencent Cloud, Qiniu Cloud, UCloud, Google Cloud, Amazon S3, Cloudflare R2, FTP, SFTP Use local for single-machine small stations; object storage for multiple machines or high traffic Non-VIP cannot be selected; switching will not migrate old resources and is not recommended to switch in the middle
Resource address Resource domain name for external access Text, pre-filled with the local site address [实测] Enter the corresponding CDN/Bucket domain name when using cloud storage Incorrect filling will cause all front-end images to be inaccessible
Local archive Whether to retain local copies when using cloud storage Single choice: Do not retain / Retain;实测「Do not retain」[实测] Select to retain when local backup is needed Display only when the storage method is not local
Each cloud storage credential Parameters for connecting to cloud services Linked with the storage method, see the details below Obtained from the cloud vendor's console The key is sensitive information

Detailed explanation of configuration items

Storage method and condition fields

Condition for occurrence: The storage method is always displayed; local archive is displayed only when non-local storage is used [source code].

The corresponding credential field appears below according to the selected storage method:

Storage method Required Field
Local storage None (Default)
Alibaba Cloud Node Endpoint, AccessKeyId, AccessKeySecret, Bucket Name
Tencent Cloud SecretId, SecretKey, Bucket Address
Qiniu Cloud AccessKey, SecretKey, Bucket Name, Storage Area (7 items: East China z0/North China z1/South China z2/North America na0/Southeast Asia as0/East China-Zhejiang 2/Fog Storage East China Area)
UpYun Operator, Password, Storage Service Name
Google Cloud Project ID, Bucket Name, Key JSON
Amazon S3 Region (such as us-east-1), AccessKey, SecretKey, Bucket
Cloudflare R2 Endpoint, AccessKey, SecretKey, Bucket
FTP IP, Port, Username, Password, Upload Root Directory
SFTP(SSH) IP, Port, Username, Password or Private Key (.crt/.pem/.key), Upload Root Directory

Recommended value: Use Alibaba Cloud/Tencent Cloud OSS + CDN for domestic sites; use S3/R2 for overseas sites.

Consequences of filling in incorrectly: Authentication or area errors will cause the upload to fail; switching the storage method does not automatically synchronize the uploaded resources, which will cause scattered old and new resources.

FTP Precautions

Source code提示: The PureFtp built into the Baota panel cannot be used normally, other FTP services need to be installed manually [source code].

Operation steps

  1. Enter 'Function → System Function → Resource Storage Configuration'.
  2. Select the storage method and fill in the corresponding credentials and resource address.
  3. Click 'Submit' to save.
  4. Upload a test image to confirm that the front-end can load normally.

Operation steps

  1. Enter 'Function → System Function → Resource Storage Configuration'.
  2. Select the storage method and fill in the corresponding credentials and resource address.
  3. Click 'Submit' to save.
  4. Upload a test image to confirm that the front-end can load normally.

Applicable scenarios and suggestions

  • For single-machine stations, local storage can be used.
  • Use object storage + CDN when deploying on multiple machines or when traffic is high.

Points to note

  • Switching storage methods will not automatically migrate uploaded resources, and switching while in use will cause scattered old and new resources.
  • Cloud storage keys are sensitive information and should not be written into public documents or screenshots.
  • Entering the wrong resource address will cause all front-end images to be inaccessible.

Related documents

Related articles

Replace site-wide

Full-site replacement is used to batch replace the specified text in multiple types of data, supporting plain text and regular expressions.

2026-11-21

301 Redirect Management

301 Redirect Management is used to configure redirection from old links to new links, often used to retain SEO weight after a revamp.

2026-11-21

Website security protection

Website security protection is achieved through frequency limits, IP whitelist and blacklist, UA checks, and memory threshold to intercept abnormal access.

2026-11-21

Prevent collection interference code

To prevent data collection interference, random content can be injected into the page or interactions can be disabled to increase the difficulty of data collection.

2026-11-21

Static page caching

Static page caching is used to cache the home page, list page, and detail page as static files, to accelerate access speed, and to support pushing to a static site server.

2026-11-21

Full-text Search

Full-text search is used to make the front-end search cover the document body, categories, and tags, not just the title. The page itself is a conditional联动 multiple configuration form, and after it is enabled, the engine needs to be selected and the index range needs to be configured.

2026-11-21

Translation configuration

Translation configuration is used to select the translation service interface used by the site.

2026-11-21

Add watermark to image

Add watermark to image is used to automatically overlay watermarks on uploaded images and supports batch watermarking for existing image libraries.

2026-11-21