fix(web): /promotion 独立 try_files 防 SPA 误判;静态探测支持 Range 与 HTML 识别
Made-with: Cursor
This commit is contained in:
@@ -15,6 +15,11 @@ server {
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
location ^~ /promotion/ {
|
||||
try_files $uri =404;
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
}
|
||||
|
||||
location = / {
|
||||
try_files /index.html =404;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user