> For the complete documentation index, see [llms.txt](https://help.ppgg.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.ppgg.in/docs/self-hosting/deploy-and-configure/optional-features/self-hosting-send.md).

# 自托管 Send

{% hint style="success" %}
对应的[官方文档地址](https://bitwarden.com/help/article/send-hosting/)
{% endhint %}

[更新您的实例](/docs/self-hosting/update-a-server.md)后，大多数的实现都已经被设置为开始[使用 Send](/docs/password-manager/bitwarden-send/create-a-send.md)。一个例外的情况是如果您使用了一个非默认的**用于附件存储的映射卷**。

附加到文件 Send 的文件被存储在现有附件卷的 `send` 子目录（即 `./bwdata/core/attachments/send`） 中。这是由 `globalSettings__send__baseDirectory=` 环境变量决定的。在 `global.override.env` 中此变量的默认配置如下：

```systemd
globalSettings__send__baseDirectory=/etc/bitwarden/core/attachments/send
```

如果您想将附加到文件 Send 的文件存储在非默认附件卷中，您需要将 `globalSettings__send__baseDirectory=` 指向新卷。更多信息，请参阅[配置环境变量](/docs/self-hosting/deploy-and-configure/configuration-options/environment-variables.md)。
