Minio ফাইল স্টোরেজ
আপনার নিজের Minio সার্ভারকে ফাইল সার্ভারের ধরন হিসেবে যোগ করে: হোস্ট ও পোর্ট, কী, বাকেট, পাথ-স্টাইল ঠিকানা, https-এ সরাসরি আপলোড। প্রিমিয়াম।
The Minio plugin adds Minio as a file server type. Minio is S3-compatible object storage you run yourself - on a second server, a NAS, or a cluster of disks - and the plugin lets BoxPuff treat it like any cloud bucket: signed direct downloads, direct uploads from the browser, geo and account-type targeting. Path-style addresses are switched on by default, as Minio expects.
Who it is for
Owners who already have hardware: a storage box in the office, a dedicated server with big disks, or several of them joined by Minio. You keep every byte under your own control and still get the bucket conveniences - the site hands out signed links and never has to proxy the download.
Switching it on
A premium plugin, key storage-minio. Buy it on lcpanel.com, open Admin → Configuration → License and press Check again now, then switch it on at Admin → Extensions → Plugins (the Manage Plugins page). Its settings page shows a single How to use note; the connection is typed on the server.
Adding the server
Admin → Infrastructure → File Servers → Add File Server. On the Add Storage Server page choose Minio under Server Type. The page explains: Your own Minio server: type its host (and port), access key, secret and bucket. Path-style addresses are on, as Minio expects. Use https on the Minio side so browsers can upload straight to it.
| Field | What to type |
|---|---|
| Access Key, Secret Key | A Minio access key and secret (make a user or service account in the Minio console). |
| Bucket | The bucket's name. |
| Region | A free text field; us-east-1 is the default and fine for most Minio installs. |
| Endpoint | Your Minio host and port, e.g. minio.example.com:9000. Host name only, no https://. |
| Path-style URLs | On (https://endpoint/bucket/key). |
| Key Prefix | Optional folder inside the bucket. |
| Direct Downloads | Yes = signed links straight from Minio; No = streamed through the site (hides the Minio host). |
| Direct Uploads | Yes = the browser uploads to Minio in parallel pieces. |
| Public / CDN URL (optional) | A CDN or reverse proxy in front of Minio for public links. |
| Signed Link Lifetime | Seconds a signed link stays valid; 3600 by default. |
Fill in Server Label and Status, set Max Storage and Server Priority under Storage Options, and press Save and test.
HTTPS and CORS
Two things make or break a self-hosted bucket:
- HTTPS on Minio. Your site is on
https, so a browser will refuse to send upload pieces or fetch signed links from a plainhttpMinio. Put a certificate on Minio (or a reverse proxy in front of it) before you switch Direct Downloads or Direct Uploads on. If you cannot, set both to No and let the site stream. - CORS for direct uploads. The bucket must allow
GET, PUT, POST, HEADfrom your domain and exposeETag. The rule to apply is printed under CORS rule the bucket needs for direct uploads on the server form and on the S3 Connection Test page of the free Amazon S3 File Storage plugin.
With both in place the uploader sends pieces straight to Minio (Uploads) and downloads leave Minio directly (Downloads).
Tips
- Minio must be reachable from the web server (for puts, deletes and tests) and from visitors' browsers (for direct links); a Minio on a private LAN address works only with Direct Downloads and Direct Uploads set to No.
- Give the server a Max Storage equal to the disks behind it, so Site Settings → File Uploads can choose it by Least Used Space or Until Full (File servers).
- Site Settings → File Downloads → Direct bucket links only for unlimited speed keeps speed-capped packages on the site's stream.
- Deletes and moves on the bucket run from the cron's Process file queue job (Scheduled jobs).