# 既存の Nginx を搭載したマシンでの Discourse のセットアップ

**URL:** <https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869>\
**Category:** Self-hosting\
**Created:** [2019 年 7 月 2 日午前 8:57 UTC](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869 "2019-07-02T08:57:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![thsnyzkn](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@thsnyzkn](https://meta.discourse.org/u/thsnyzkn)\
**Post date:** [2019 年 7 月 2 日午後 12:11 UTC](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869/3 "2019-07-02T12:11:14Z")

</div>

返信ありがとうございます。

> [@pfaffman](#):
>
> web サーバーを一時的に無効化して、discourse-setup を実行してください。

この文の意味を教えてください。実際にはご指摘の手順に従ったのですが、今、./launcher rebuild app と入力すると、しばらくして次のような別のエラーが表示されます：" [2019-07-02T11:51:07.931930 #16] INFO – : \> cd /var/www/discourse && gem update bundler  
ERROR: While executing gem … (Gem::RemoteFetcher::UnknownHostError)  
timed out ([https://rubygems.org/specs.4.8.gz](https://rubygems.org/specs.4.8.gz))"

---

_[View the full topic](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869)._
