# frpでfrpcサーバーをセットアップしてDiscourseをインストールする方法

**URL:** https://meta.discourse.org/t/how-do-i-set-up-a-frpc-server-with-frp-to-install-discourse/298754
**Category:** Self-hosting
**Created:** [2024 年 3 月 10 日午後 2:02 UTC](https://meta.discourse.org/t/how-do-i-set-up-a-frpc-server-with-frp-to-install-discourse/298754 "2024-03-10T14:02:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![5804829](https://avatars.discourse-cdn.com/v4/letter/5/7cd45c/32.png) [@5804829](https://meta.discourse.org/u/5804829)
#### Post date: [2024 年 3 月 10 日午後 2:02 UTC](https://meta.discourse.org/t/how-do-i-set-up-a-frpc-server-with-frp-to-install-discourse/298754/1 "2024-03-10T14:02:39Z")

</div>

frp を使用して Discourse をインストールするために frpc サーバーをセットアップするにはどうすればよいですか? サーバーには既に pagoda がインストールされており、いくつかの Web サイトが実行されています。  
検索エンジンのガイダンスに従って、app.yml のポートを変更して公開しようとしました。

- “20080:80” # http
- “20443:443” # https  
しかし、正しくインストールされません。  
ドメイン名を確認してください。  
警告: ホスト名 abc.app を使用しても、コンピューターのポート 443 にアクセスできないようです。  
警告: [http://abc.app](http://abc.app) (ポート 80) への接続も失敗します。

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2024 年 3 月 10 日午後 2:59 UTC](https://meta.discourse.org/t/how-do-i-set-up-a-frpc-server-with-frp-to-install-discourse/298754/2 "2024-03-10T14:59:25Z")

</div>

このトピックには、お役に立てる情報が含まれている可能性があります。

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will …
