# app.yml 中哪个 Let’s Encrypt 变量名是正确的？

**URL:** <https://meta.discourse.org/t/which-let-s-encrypt-variable-name-is-correct-in-app-yml/390620>\
**Category:** Self-hosting\
**Tags:** letsencrypt\
**Created:** [2025年十二月7日 09:21 UTC](https://meta.discourse.org/t/which-let-s-encrypt-variable-name-is-correct-in-app-yml/390620 "2025-12-07T09:21:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Post date:** [2025年十二月7日 09:21 UTC](https://meta.discourse.org/t/which-let-s-encrypt-variable-name-is-correct-in-app-yml/390620/1 "2025-12-07T09:21:07Z")

</div>

大家好，

在重新构建过程中，我看到了警告：

“Let’s Encrypt 电子邮件未设置”

但在我的 app.yml 中我已经有了这一行：

```plaintext
LETSENCRYPT_ACCOUNT_EMAIL: myemail@example.com

```

我的证书有效，并且跳过了颁发。启动器打印了正确的警告。

在更新任何内容之前，有人能确认一下吗：

- `LETSENCRYPT_ACCOUNT_EMAIL` 是一个旧的/遗留的变量吗？

- 正确的现代变量名称现在是：

```plaintext
letsencrypt_email:

```

我应该删除旧的变量并切换到新的变量以避免警告并确保自动续订正常工作吗？

谢谢！

---

_[View the full topic](https://meta.discourse.org/t/which-let-s-encrypt-variable-name-is-correct-in-app-yml/390620)._
