跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] 请教一些 dns 和 cdn 的问题和鉴权的问题

发表于
先说一下场景:
目前业务使用阿里云 OSS ,需要绑定自定义域名,比如 xx.oss-cn-shenzhen.aliyuncs.com 绑定到 static.domain.com ,然后再给 static 开启 cdn 加速, 加速地址为 static.domain.w.cdngslb.com (全球)

1 、这时候 dns 是不是需要将 static 域名同时添加 cname:xx.oss-cn-shenzhen.aliyuncs.comstatic.domain.w.cdngslb.com ? 我绑定之后 通过 nslookup 解析到上面的两个地址。

2 、一个 oss 的 bucket 支持绑定多个域名,我目前根据不同资源配置不同的域名和加速规则,是否合理。

3 、cnd 支持 url 鉴权( https://help.aliyun.com/zh/cdn/user-guide/configure-url-signing?spm=5176.11785003.help.dexternal.135e142fB7AhGj ),而 oss 也支持通过签名的方式分享( https://help.aliyun.com/zh/oss/user-guide/how-to-obtain-the-url-of-a-single-object-or-the-urls-of-multiple-objects?spm=a2c4g.11186623.0.0.2dc255f8PqGbB3#4c2493705dduz ),

这两种场景是否互斥,我之前一直使用后者,今天维护别人代码的时候,才发现公司有的业务使用前者。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.