diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/storage.md | 22 | ||||
-rw-r--r-- | docs/installation_guide/binary.md | 9 |
2 files changed, 5 insertions, 26 deletions
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" ``` diff --git a/docs/installation_guide/binary.md b/docs/installation_guide/binary.md index 576dc52b3..5303359ae 100644 --- a/docs/installation_guide/binary.md +++ b/docs/installation_guide/binary.md @@ -48,11 +48,10 @@ Now open the file in your text editor of choice so that you can set some importa * Set `host` to whatever hostname you're going to be running the server on (eg., `example.org`). * Set `port` to `443`. -* Set `db.type` to `sqlite`. -* Set `db.address` to `sqlite.db`. -* Set `storage.basePath` to the storage directory you created above (eg., `/gotosocial/storage`). -* Set `storage.serveHost` to whatever you set the `host` value to above (eg., `example.org`). -* Set `letsEncrypt.certDir` to the certificate storage directory you created above (eg., `/gotosocial/storage/certs`). +* Set `db-type` to `sqlite`. +* Set `db-address` to `sqlite.db`. +* Set `storage-local-base-path` to the storage directory you created above (eg., `/gotosocial/storage`). +* Set `letsencrypt-cert-dir` to the certificate storage directory you created above (eg., `/gotosocial/storage/certs`). The above options assume you're using SQLite as your database. If you want to use Postgres instead, see [here](../configuration/database.md) for the config options. |