feat: add private r2 bucket
This commit is contained in:
@@ -24,6 +24,11 @@ R2_SECRET_ACCESS_KEY=
|
||||
R2_BUCKET=
|
||||
# Public base URL where bucket objects are served (custom domain or pub-XXX.r2.dev)
|
||||
R2_PUBLIC_URL=
|
||||
# Separate bucket for private media (DM attachments), read only via short-lived
|
||||
# presigned GETs. It must have NO public access and no custom domain: R2 public
|
||||
# access is per-bucket, so a prefix inside R2_BUCKET would still be world-readable.
|
||||
# Empty disables private-media endpoints (they return 503).
|
||||
R2_PRIVATE_BUCKET=
|
||||
|
||||
# SMTP (password-reset + email-verification + /feedback admin notifications)
|
||||
SMTP_HOST=
|
||||
|
||||
Reference in New Issue
Block a user