# После установки отображается только «welcome to nginx»

**URL:** https://meta.discourse.org/t/only-welcome-to-nginx-can-be-displayed-after-installation/142206
**Category:** Self-hosting
**Created:** [21.Февраль.2020 01:34:35 UTC](https://meta.discourse.org/t/only-welcome-to-nginx-can-be-displayed-after-installation/142206 "2020-02-21T01:34:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![cxj16888](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cxj16888/32/170566_2.png) [@cxj16888](https://meta.discourse.org/u/cxj16888)
#### Post date: [21.Февраль.2020 01:34:35 UTC](https://meta.discourse.org/t/only-welcome-to-nginx-can-be-displayed-after-installation/142206/1 "2020-02-21T01:34:35Z")

</div>

Я установил Docker на Ubuntu 18.04 и запустил Discover, и он работает нормально. Однако при обращении по IP-адресу или доменному имени отображается только страница «Добро пожаловать в Nginx».

Я начинающий пользователь, подскажите, пожалуйста, как перейти к следующему шагу. Спасибо!

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [21.Февраль.2020 01:37:27 UTC](https://meta.discourse.org/t/only-welcome-to-nginx-can-be-displayed-after-installation/142206/2 "2020-02-21T01:37:27Z")

</div>

Это, **вероятно** , связано с тем, что запросы попадают на nginx на хосте, а не в контейнер Docker.

Убедитесь, что на хосте не запущен веб-сервер, чтобы контейнер Docker мог занять порт 80.

После этого, какой вывод дает команда: `docker ps`?

---

<div class="post-metadata">

### Author: ![cxj16888](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cxj16888/32/170566_2.png) [@cxj16888](https://meta.discourse.org/u/cxj16888)
#### Post date: [21.Февраль.2020 02:41:17 UTC](https://meta.discourse.org/t/only-welcome-to-nginx-can-be-displayed-after-installation/142206/3 "2020-02-21T02:41:17Z")

</div>

Веб-сервер не запущен на хосте

 ![Скриншот 2020-02-21 в 9:20:44](https://global.discourse-cdn.com/meta/original/3X/c/d/cd2d3f4b771228a5c0db4cb8133055b23dbe0241.jpeg)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [21.Февраль.2020 03:21:36 UTC](https://meta.discourse.org/t/only-welcome-to-nginx-can-be-displayed-after-installation/142206/4 "2020-02-21T03:21:36Z")

</div>

Попробуйте

```
  ps ax|grep nginx

```

А затем поищите в Google, как его удалить

---

<div class="post-metadata">

### Author: ![cxj16888](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cxj16888/32/170566_2.png) [@cxj16888](https://meta.discourse.org/u/cxj16888)
#### Post date: [21.Февраль.2020 07:34:03 UTC](https://meta.discourse.org/t/only-welcome-to-nginx-can-be-displayed-after-installation/142206/5 "2020-02-21T07:34:03Z")

</div>

Спасибо за ваш ответ. После повторной проверки файла app.yml я пересобрал его и разрешил доступ к порту 80. Я могу открыть страницу регистрации:

 ![截屏2020-02-21下午2.49.03](https://global.discourse-cdn.com/meta/original/3X/e/9/e96ca286b249b8176ca5596f29fb2fa35f395602.jpeg)

Учётная запись администратора создана с помощью команды rake admin:cearte, но при повторном посещении веб-страницы никакого сообщения не появляется — только пустой экран. Как перейти к следующему шагу — решения пока не найдено!

Спасибо за ваш ответ

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [21.Февраль.2020 17:20:54 UTC](https://meta.discourse.org/t/only-welcome-to-nginx-can-be-displayed-after-installation/142206/6 "2020-02-21T17:20:54Z")

</div>

Как только у вас появится учетная запись администратора, вы сможете войти в систему и запустить мастер настройки, перейдя по адресу `https://SITE/wizard`.
