# צריך עזרה בהגדרת discourse באמצעות Caddy כ-rproxy

**URL:** <https://meta.discourse.org/t/need-help-setting-up-discourse-using-caddy-as-rproxy/238456>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [8 בספטמבר,‏ 2022,‏ 12:47pm UTC](https://meta.discourse.org/t/need-help-setting-up-discourse-using-caddy-as-rproxy/238456 "2022-09-08T12:47:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Tinsmith6176](https://avatars.discourse-cdn.com/v4/letter/t/87869e/32.png) [@Tinsmith6176](https://meta.discourse.org/u/Tinsmith6176)\
**Post date:** [8 בספטמבר,‏ 2022,‏ 2:01pm UTC](https://meta.discourse.org/t/need-help-setting-up-discourse-using-caddy-as-rproxy/238456/3 "2022-09-08T14:01:29Z")

</div>

I think that got me on the right track. I’m not sure i’m pointing to the right path though.

in my app.yml I have set my volumes here:  
And i can build my Discourse without problems.

```plaintext
volumes:
  - volume:
      host: /opt/docker/docker_configs/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /opt/docker/docker_configs/discourse/shared/standalone/log/var-log
      guest: /var/log

```

And reading that forumthread, i tried a couple of things with my Caddyfile.

```plaintext
forum.mydomain.com {
  reverse_proxy unix//opt/docker/docker_configs/discourse/shared/standalone/nginx.http.sock
  import cloudflare
}

```

```plaintext
forum.mydomain.com {
  reverse_proxy /opt/docker/docker_configs/discourse/shared/standalone/nginx.http.sock
  import cloudflare
}

```

Neither of them work, but i’m really not sure i’m doing it right though xD

---

_[View the full topic](https://meta.discourse.org/t/need-help-setting-up-discourse-using-caddy-as-rproxy/238456)._
