# Running 2 hosts behind haproxy fails with random 404s

**URL:** <https://meta.discourse.org/t/running-2-hosts-behind-haproxy-fails-with-random-404s/150663>\
**Category:** Self-hosting\
**Created:** [6 במאי,‏ 2020,‏ 11:16pm UTC](https://meta.discourse.org/t/running-2-hosts-behind-haproxy-fails-with-random-404s/150663 "2020-05-06T23:16:08Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![foozmeat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/foozmeat/32/107214_2.png) [@foozmeat](https://meta.discourse.org/u/foozmeat)\
**Post date:** [7 במאי,‏ 2020,‏ 5:59pm UTC](https://meta.discourse.org/t/running-2-hosts-behind-haproxy-fails-with-random-404s/150663/7 "2020-05-07T17:59:40Z")

</div>

Thanks to the hint from @Falco I tried adding the following to my container config and now things are working as expected:

```
  - volume:
      host: {{ discourse_nas_path }}/assets
      guest: /var/www/discourse/public/assets

```

---

_[View the full topic](https://meta.discourse.org/t/running-2-hosts-behind-haproxy-fails-with-random-404s/150663)._
