# Nginx 页面替代恭喜页面

**URL:** <https://meta.discourse.org/t/nginx-page-instead-of-congratulations-page/141250>\
**Category:** Self-hosting\
**Created:** [2020 年2 月 11 日 03:38 UTC](https://meta.discourse.org/t/nginx-page-instead-of-congratulations-page/141250 "2020-02-11T03:38:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![DaleKramer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dalekramer/32/169487_2.png) [@DaleKramer](https://meta.discourse.org/u/DaleKramer)\
发布日期： [2020 年2 月 11 日 03:38 UTC](https://meta.discourse.org/t/nginx-page-instead-of-congratulations-page/141250/1 "2020-02-11T03:38:32Z")

</div>

我按照这份 30 分钟的指南操作：

> <https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md#edit-discourse-configuration>

我可以成功通过 Telnet 登录到我的 SMTP 服务器。

我的子域名已正确重定向到 DigitalOcean 分配给我的 IP 地址（167.172.31.228）。

但每当我访问该 IP 时，看到的是 Nginx 页面，而不是 Discourse 的“恭喜”页面 😭

我的 app.yml 已配置为使用 https。

我的 SMTP、Let’s Encrypt 以及 app.yml 中设置的 ‘rails r “SiteSetting.notification\_email”’ 邮箱地址都相同，但它们不属于 DISCOURSE\_HOSTNAME 对应的域名。

 ![Nginx](https://global.discourse-cdn.com/meta/original/3X/a/9/a97b7359e7e0f6995c7177c94c2f83b7314e9f28.jpeg)

已经过去 30 多分钟了，有人知道可能发生了什么吗？❓

提前感谢任何能想到的帮助 🙂

---

_[View the full topic](https://meta.discourse.org/t/nginx-page-instead-of-congratulations-page/141250)._
