Skip to content

现在对加cdn对可以加token和expires吗? #9375

@Wangch29

Description

@Wangch29

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

对象存储有令牌选项,但我试了没有用,并没有加上token=XXXX。

现在最新版的完善这个功能了吗?

但不同cdn厂商的令牌算法也不一样,感觉这个功能需要按cdn厂商单独适配???

我现在用的是nginx直接拦截 /d/.... 下载链接,用一个python脚本来加token并重定向。但这种方法对mp4视频文件无效,因为貌似视频并不会用 /d/ 来下载?所以这个解决方法只能在线听mp3,无法在线看mp4了。

我就不知道怎么解决视频的问题了

Suggested solution / 实现思路

No response

Additional context / 附件

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions