From cb8688f4298a1a3ed5e28565004588be3c071df0 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 20 Dec 2021 15:19:53 +0100 Subject: Remove unnecessary storage config variables (#344) * rewire config to not use extraneous serve vars * rename 'file' to 'local' for consistency * use Type and Size again --- docs/configuration/storage.md | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'docs/configuration/storage.md') diff --git a/docs/configuration/storage.md b/docs/configuration/storage.md index b0fadcd4c..1fc6d76e7 100644 --- a/docs/configuration/storage.md +++ b/docs/configuration/storage.md @@ -20,25 +20,5 @@ storage-backend: "local" # this directly, and create new subdirectories and files with in. # Examples: ["/home/gotosocial/storage", "/opt/gotosocial/datastorage"] # Default: "/gotosocial/storage" -storage-base-path: "/gotosocial/storage" - -# String. Protocol to use for serving stored files. -# It's very unlikely that you'll need to change this ever, but there might be edge cases. -# Examples: ["http", "https"] -storage-serve-protocol: "https" - -# String. Host for serving stored files. -# If you're using local storage, this should be THE SAME as the value you've set for Host, above. -# It should only be a different value if you're serving stored files from a host -# other than the one your instance is running on. -# Examples: ["localhost", "example.org"] -# Default: "localhost" -- you should absolutely change this. -storage-serve-host: "localhost" - -# String. Base path for serving stored files. This will be added to serveHost and serveProtocol -# to form the prefix url of your stored files. Eg., https://example.org/fileserver/..... -# It's unlikely that you will need to change this. -# Examples: ["/fileserver", "/media"] -# Default: "/fileserver" -storage-serve-base-path: "/fileserver" +storage-local-base-path: "/gotosocial/storage" ``` -- cgit v1.2.3