# 如何在 Apache vhost 中运行 Discourse，而非 Nginx

**URL:** <https://meta.discourse.org/t/how-to-run-discourse-in-apache-vhost-not-nginx/133112>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2019年十一月11日 14:18 UTC](https://meta.discourse.org/t/how-to-run-discourse-in-apache-vhost-not-nginx/133112 "2019-11-11T14:18:14Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![maltfield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maltfield/32/160669_2.png) [@maltfield](https://meta.discourse.org/u/maltfield)\
**Post date:** [2019年十一月12日 15:10 UTC](https://meta.discourse.org/t/how-to-run-discourse-in-apache-vhost-not-nginx/133112/15 "2019-11-12T15:10:04Z")

</div>

不幸的是，当我运行 `/var/discourse/launcher destroy app && /var/discourse/launcher rebuild app` 时，我更新的 `/var/discourse/image/base/install-nginx` 脚本似乎并未被执行。

是否有任何原因导致该 `rebuild` 命令不会重新执行更新后的 `install-nginx` 脚本？

---

_[View the full topic](https://meta.discourse.org/t/how-to-run-discourse-in-apache-vhost-not-nginx/133112)._
