Cloudflare and S3


I’m trying to get Cloudflare CDN to work with Rocket chat, and everything is working except the uploaded files.

Uploaded images are either blurred or not shown at all in the chat. The console log displays 403 (Forbidden) errors on each GET.

The settings for S3 in Rocket chat has an option to add CDN domain but I still haven’t had any luck, currently I have the following domain filled in:

Server Setup Information

  • Version of Rocket.Chat Server: 1.2.1
  • Operating System: Ubuntu
  • Deployment Method: Docker compoe
  • Proxy: Nginx