# 内容安全策略：页面的设置已阻止加载资源（“script-src”）

**URL:** <https://meta.discourse.org/t/content-security-policy-the-settings-of-the-page-have-blocked-the-loading-of-a-resource-script-src/262608>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2023 年4 月 22 日 19:39 UTC](https://meta.discourse.org/t/content-security-policy-the-settings-of-the-page-have-blocked-the-loading-of-a-resource-script-src/262608 "2023-04-22T19:39:22Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

作者： ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
发布日期： [2023 年4 月 25 日 19:04 UTC](https://meta.discourse.org/t/content-security-policy-the-settings-of-the-page-have-blocked-the-loading-of-a-resource-script-src/262608/15 "2023-04-25T19:04:00Z")

</div>

> [@Justman10000](#):
>
> 将其包含在我的 Apache2 中，通过反向代理……

当然可以。您应该在 app.yml 中公开，例如 `- "83:80"`，或者您的反向代理用于将流量发送到后端的任何端口。或者您可以使用 websocket。

> [@Justman10000](#):
>
> 我已经说过了！关于标准安装！！！

您想使用非标准安装的反向代理。

---

_[View the full topic](https://meta.discourse.org/t/content-security-policy-the-settings-of-the-page-have-blocked-the-loading-of-a-resource-script-src/262608)._
