no message
This commit is contained in:
10
nginx.conf
10
nginx.conf
@@ -55,6 +55,16 @@ server {
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# 纯 CDN:/cdn-unity/ → OSS 游戏包(config.js unityCdnUseSiteProxy: true)
|
||||
# 路径需与 unityCdnRemote 保持一致,更新 OSS 目录时同步修改
|
||||
location /cdn-unity/ {
|
||||
proxy_pass https://oss.eanic.cn/001_code_cocos_res_20260616/;
|
||||
proxy_ssl_server_name on;
|
||||
proxy_set_header Host oss.eanic.cn;
|
||||
proxy_hide_header Access-Control-Allow-Origin;
|
||||
expires 7d;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
add_header Cache-Control "no-cache, no-store";
|
||||
|
||||
Reference in New Issue
Block a user