mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 18:22:24 -05:00
[feature] Object store custom URL (S3) (#3046)
* tweaks * boobs * fix variable name + typo --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
parent
26022c2733
commit
43519324b3
8 changed files with 158 additions and 9 deletions
|
|
@ -551,11 +551,42 @@ storage-local-base-path: "/gotosocial/storage"
|
|||
# Default: ""
|
||||
storage-s3-endpoint: ""
|
||||
|
||||
# Bool. If data stored in S3 should be proxied through GoToSocial instead of redirecting to a presigned URL.
|
||||
# Bool. Set this to true if data stored in S3 should be proxied through
|
||||
# GoToSocial instead of forwarding the request to a presigned URL.
|
||||
#
|
||||
# In most cases you won't need to touch this setting, but it might be useful
|
||||
# if it's not possible for your bucket provider to generate presigned URLs,
|
||||
# or if your bucket is not able to exposed to the wider internet.
|
||||
#
|
||||
# Default: false
|
||||
storage-s3-proxy: false
|
||||
|
||||
# String. URL to use a base for redirecting incoming media requests to.
|
||||
#
|
||||
# Must start with "http://" or "https://" and end without a trailing slash.
|
||||
#
|
||||
# DON'T SET THIS VALUE UNLESS YOU HAVE GOOD REASON TO! It's not necessary for
|
||||
# "normal" s3 usage, and most admins can happily just ignore this setting.
|
||||
#
|
||||
# If set, then media fileserver requests to your instance will be redirected
|
||||
# to this URL instead of your bucket URL, preserving relevant path parts.
|
||||
#
|
||||
# This is useful if you are using a CDN proxy in front of your S3 bucket, and you
|
||||
# want to serve media from the CDN rather than serving from your S3 bucket directly.
|
||||
#
|
||||
# For example, if you have your storage-s3-endpoint value set to "s3.my-storage.example.org",
|
||||
# and you have a CDN set up to proxy your bucket, serving from "cdn.some-fancy-host.org",
|
||||
# then you should set storage-s3-redirect-url to "https://cdn.some-fancy-host.org".
|
||||
#
|
||||
# This will allow your GoToSocial instance to *upload* data to "s3.my-storage.example.org",
|
||||
# but direct callers to *download* that data from "https://cdn.some-fancy-host.org".
|
||||
#
|
||||
# This value is ignored if storage-backend is not s3, or if storage-s3-proxy is true.
|
||||
#
|
||||
# Examples: ["https://cdn.some-fancy-host.org"]
|
||||
# Default: ""
|
||||
storage-s3-redirect-url: ""
|
||||
|
||||
# Bool. Use SSL for S3 connections.
|
||||
#
|
||||
# Only set this to 'false' when testing locally.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue