# Возможно ли встроить Discourse в другой Discourse?

**URL:** https://meta.discourse.org/t/is-it-possible-to-embed-discourse-in-another-discourse/271378
**Category:** Support
**Tags:** embedding
**Created:** [11.Июль.2023 20:39:54 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-discourse-in-another-discourse/271378 "2023-07-11T20:39:54Z")
**Posts on this page:** 1
**Page:** 1

<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: [11.Июль.2023 20:39:54 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-discourse-in-another-discourse/271378/1 "2023-07-11T20:39:54Z")

</div>

Должен ли я иметь возможность встраивать один Discourse в другой?

Я попробовал следующее:

### after\_header

```plaintext
<d-topics-list discourse-url="https://meta.discourse.org/" category="14" per-page="10"></d-topics-list>

```

### head

```plaintext
<script src="https://meta.discourse.org/javascripts/embed-topics.js"></script>

```

Но вместо встраиваемого блока я вижу сообщение: «**[meta.discourse.org](http://meta.discourse.org)** отказал в подключении», а в консоли JavaScript — следующее:

```plaintext
Refused to frame 'https://meta.discourse.org/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://embed.eviltrout.com https://blog.discourse.org https://civilized-discourse-construction-kit-inc.ghost.io".

```

Я попытался добавить все эти адреса в `content security policy script src`.
