> 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)。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.ppgg.in/docs/self-hosting/deploy-and-configure/optional-features/self-hosting-send.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
