# 如何使用开源 WAF 构建 Discourse 安装

**URL:** <https://meta.discourse.org/t/how-to-build-a-discourse-installation-with-an-open-source-waf/130283>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2019 年10 月 5 日 02:38 UTC](https://meta.discourse.org/t/how-to-build-a-discourse-installation-with-an-open-source-waf/130283 "2019-10-05T02:38:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![joelradon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joelradon/32/154111_2.png) [@joelradon](https://meta.discourse.org/u/joelradon)\
发布日期： [2019 年10 月 5 日 02:41 UTC](https://meta.discourse.org/t/how-to-build-a-discourse-installation-with-an-open-source-waf/130283/2 "2019-10-05T02:41:27Z")

</div>

一键自动化安装 NGINX / WAF，适用于 Discourse 安装之后。别忘了将域名从 [cloudforums.net](http://cloudforums.net) 更改为您的域名。

只需运行

```plaintext
sh discourse_install.sh

```

> <https://github.com/joelradon/wordpress-with-naxsi-waf/blob/master/discourse_install.sh>

---

_[View the full topic](https://meta.discourse.org/t/how-to-build-a-discourse-installation-with-an-open-source-waf/130283)._
