Proxying link previews

Is it possible to proxy discourse’s link previews through Cloudflare? Currently they expose the backend IP of the webserver.

Since scraping a page for images/meta tags/opengraph/etc requires fetching the page, you can’t (using traditional Cloudflare features) proxy an outgoing request through Cloudflare.

It’s probably possible to do this via a Discourse plugin + Cloudflare workers, but that would require writing a plugin.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.