RocketChat / RocketChat/Rocket.Chat
Can't configure CDN for rocket chat
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
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:
- Go to 'General'
- Set
CDN Prefix - Boom!
Server Setup Information:
- Version of Rocket.Chat Server: 3.13.3
- Operating System: Ubuntu 18.04
- Deployment Method: docker
- Number of Running Instances: 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the General settings and trace the CDN Prefix configuration and the asset URLs it produces. Compare the current /cdnprefix/... behavior with the requested redirect to the configured CDN, then verify that file and asset URLs resolve correctly; the issue names no source files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100