# HTTPS through Proxy; Discourse still trying to get files using HTTP

**URL:** <https://meta.discourse.org/t/https-through-proxy-discourse-still-trying-to-get-files-using-http/146749>\
**Category:** Self-hosting\
**Created:** [April 3, 2020, 7:40pm UTC](https://meta.discourse.org/t/https-through-proxy-discourse-still-trying-to-get-files-using-http/146749 "2020-04-03T19:40:58Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [April 3, 2020, 9:19pm UTC](https://meta.discourse.org/t/https-through-proxy-discourse-still-trying-to-get-files-using-http/146749/22 "2020-04-03T21:19:12Z")

</div>

Make sure that the proxy is setting the X-Forwarded-Proto header to `https` appropriately, which should fix https detection.

---

_[View the full topic](https://meta.discourse.org/t/https-through-proxy-discourse-still-trying-to-get-files-using-http/146749)._
