RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.16k stars 10.38k forks source link

Can't configure CDN for rocket chat #21926

Open sherlock-shi-x opened 3 years ago

sherlock-shi-x commented 3 years ago

Description:

Try to use CDN in General page, but the behavior was not expected.

I want to configure my own 302 cdn service for rocket chat to serve the files and assets. But after some tests, I found the settings are much like: origin: https://chat.xx.com -> https://chat.xx.com/cdnpreix/...

Actually, when we use cdn, the behavior should be like: https://chat.xx.com/video/filehash1 -> https://cdn1.yy.com/filehash1

Can we have the way to do this?

Steps to reproduce:

  1. Go to 'General'
  2. Set CDN Prefix
  3. Boom!

Server Setup Information:

johncrisp commented 3 years ago

Hi and thanks for reporting.

Have you tested this on latest 3.14 ?

It had a lot of bug fixes and improvements and you always try testing on the latest release.

sherlock-shi-x commented 3 years ago

Hi and thanks for reporting.

Have you tested this on latest 3.14 ?

It had a lot of bug fixes and improvements and you always try testing on the latest release.

let me try it :)

sherlock-shi-x commented 3 years ago

@johncrisp

nope, the problem still exists.

Can you offer me some advice :)

TylerHobanDotCom commented 2 years ago

same error.., along with a different one as well.

ajtatum commented 2 years ago

Just ran into this issue...