# How to install Discourse behind Apache mod\_proxy?

**URL:** <https://meta.discourse.org/t/how-to-install-discourse-behind-apache-mod-proxy/130763>\
**Category:** Self-hosting\
**Created:** [October 11, 2019, 7:38am UTC](https://meta.discourse.org/t/how-to-install-discourse-behind-apache-mod-proxy/130763 "2019-10-11T07:38:52Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![hexadecagram](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hexadecagram/32/262658_2.png) [@hexadecagram](https://meta.discourse.org/u/hexadecagram)\
**Post date:** [October 11, 2019, 10:41pm UTC](https://meta.discourse.org/t/how-to-install-discourse-behind-apache-mod-proxy/130763/6 "2019-10-11T22:41:58Z")

</div>

I’ve done a bit more looking into this and I think I can accomplish what I’m after because it seems HAProxy can choose backends based on vhost.

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-discourse-behind-apache-mod-proxy/130763)._
