> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/hosting/configuration/configuration-examples.md).

# Duaer 配置示例

可直接套用的自托管配置写法。先从自定义加密密钥开始。
## 示例

- [设置自定义加密密钥](/zh/hosting/configuration/configuration-examples/encryption-key.md)：固定 DUAER_ENCRYPTION_KEY，避免轮换后凭证无法解密。

变量含义见 [环境变量](/zh/hosting/configuration/environment-variables.md)。密钥概念见 [加密密钥](/zh/hosting/configuration/encryption-keys.md)。
## Questions

### 这里和「环境变量」总览有什么不同？

总览列变量含义。示例页给出可直接套用的完整写法，例如自定义加密密钥。

