# Reverse Proxy Into Discourse

**URL:** <https://meta.discourse.org/t/reverse-proxy-into-discourse/331164>\
**Category:** Self-hosting\
**Created:** [October 16, 2024, 1:44pm UTC](https://meta.discourse.org/t/reverse-proxy-into-discourse/331164 "2024-10-16T13:44:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [October 16, 2024, 3:51pm UTC](https://meta.discourse.org/t/reverse-proxy-into-discourse/331164/6 "2024-10-16T15:51:50Z")

</div>

> [@mjbergman92](#):
>
> I do not think this is possible to get rid of since the http:// references in the code are hard coded… or am i wrong? is that what this labels field you referenced would change?

There is a setting called `force_https` that you need to enable, either via ENV or rails console.

Also don’t forget to set a proper `x-forwarded-proto` on your proxy.

---

_[View the full topic](https://meta.discourse.org/t/reverse-proxy-into-discourse/331164)._
