# Discourse のサイト全体の CDN 高速化

**URL:** https://meta.discourse.org/t/full-site-cdn-acceleration-for-discourse/21467
**Category:** Self-Hosting
**Tags:** cdn, explanation
**Created:** [2014 年 10 月 24 日午前 6:17 UTC](https://meta.discourse.org/t/full-site-cdn-acceleration-for-discourse/21467 "2014-10-24T06:17:57Z")
**Posts on this page:** 1
**Showing post:** 34

<div class="post-metadata">

### Author: ![Hyan](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hyan](https://meta.discourse.org/u/Hyan)
#### Post date: [2023 年 9 月 4 日午前 3:28 UTC](https://meta.discourse.org/t/full-site-cdn-acceleration-for-discourse/21467/34 "2023-09-04T03:28:40Z")

</div>

> [@sam](#):
>
> たとえば、サイトが「[http://forum.example.com](http://forum.example.com)」にある場合、サイト設定に接続するために\*\*`http://forum-direct.example.com/`\*\* を設定する必要があります。設定しないと、サイトが壊れます。

こんにちは、  
別のスレッド [Full Site CDN Using AWS CloudFront - #2 by Hyan](https://meta.discourse.org/t/full-site-cdn-using-aws-cloudfront/208161/2?u=hyan) で質問を投稿しました。同じ設定を行い、**#DISCOURSE\_CDN\_URL: [https://discourse-cdn.example.com](https://discourse-cdn.example.com)** を変更せずにそのままにしました。これをウェブサイトと同じURLに設定できますか？たとえば、[http://forum.example.com](http://forum.example.com) です。そうでなければ、ドメイン名のない相対パスでアセットURLが存在します。  
@sam または @pfaffman がヒントを教えていただけると幸いです。

---

_[View the full topic](https://meta.discourse.org/t/full-site-cdn-acceleration-for-discourse/21467)._
