# Discourse Link previews through a proxy server?

**URL:** https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720
**Category:** Self-hosting
**Created:** [October 25, 2017, 1:34am UTC](https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720 "2017-10-25T01:34:34Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![nsuchy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nsuchy/32/166530_2.png) [@nsuchy](https://meta.discourse.org/u/nsuchy)
#### Post date: [October 25, 2017, 1:34am UTC](https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720/1 "2017-10-25T01:34:34Z")

</div>

I keep my forum’s server behind cloud flare due to a large amount of attacks against the site. The link previews and emails can leak the server’s backend IP Address. The email issue was resolved by setting up a SMTP relay that strips headers (if the user pulls email headers to get the IP, they get the relay and not the forum’s IP). Is there a way to make the link previews go through a proxy server?

---

_[View the full topic](https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720)._
