# 外部ドメインのサブディレクトリでDiscourseを実行する方法は？

**URL:** <https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2019 年 12 月 1 日午前 8:15 UTC](https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788 "2019-12-01T08:15:08Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![UltraLuz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ultraluz/32/160013_2.png) [@UltraLuz](https://meta.discourse.org/u/UltraLuz)\
**Post date:** [2019 年 12 月 13 日午前 6:58 UTC](https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788/24 "2019-12-13T06:58:39Z")

</div>

そのガイドに従って試みました…

```
 DISCOURSE_RELATIVE_URL_ROOT: /blog
 DISCOURSE_HOSTNAME: forum.ultraluz.com.br

```

そのため、`forum.ultraluz.com.br/blog` にアクセスすればフォーラムに接続できると期待していましたが、接続が拒否されました。これがそのガイドで混乱を招いている点だと思います。

アセットを取得するために使用するべき URL が明確ではありません…

---

_[View the full topic](https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788)._
