Skip to content

Commit 624b0e7

Browse files
FurLCjyxjjj
andauthored
docs(uss): 增加又拍云参数跟随导致404的修改说明 (#315)
Co-authored-by: ShenLin <773933146@qq.com>
1 parent 0287484 commit 624b0e7

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

pages/guide/drivers/uss.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,29 @@ sticky: true
2121
star: true
2222
---
2323

24+
::: en
25+
::: tip
26+
When using the **302 redirect** strategy, the `_upd` and `_upt` parameters are automatically appended to the URL. If **"Parameter Follow"** is enabled in the Upyun console, the CDN nodes will treat these parameters as part of the file path, resulting in a **404 Not Found** error for existing files.
27+
28+
Solutions:
29+
30+
- Method 1: In the Upyun console, under **"Cache Control"**, change **"Parameter Follow"** to **"Parameter Not Follow"**.
31+
32+
- Method 2: Set the WebDAV policy of OpenList to **"Local Proxy"**. This mode avoids appending interfering parameters but will increase the server's data transfer.
33+
:::
34+
35+
::: zh-CN
36+
::: tip
37+
在使用 **302 重定向** 策略时,会自动在 URL 后拼接 `_upd``_upt` 参数,若又拍云控制台开启了 **“参数跟随”**,CDN 节点会将这些参数视为文件路径的一部分进行匹配,从而导致原本存在的文件返回 **404 Not Found**
38+
39+
解决办法:
40+
41+
- 方法1:将又拍云控制台 **“缓存控制”** 中的 **“参数跟随”** 修改为 **“参数不跟随”**
42+
43+
- 方法2:将 OpenList 的 WebDAV 策略设置为 **“本地代理”**,此模式下不会拼接干扰参数,但会消耗服务器流量。
44+
45+
:::
46+
2447
::: en
2548
UPYUN Storage Service,refer to as USS,[**Yupyun USS Official Website**](https://console.upyun.com/services/file/)
2649
:::

0 commit comments

Comments
 (0)