fix(web): 关注我们图片多 URL 回退(public→promotion),移除部署路径提示;Nginx 增加 /social/
Made-with: Cursor
This commit is contained in:
@@ -25,6 +25,11 @@ server {
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location ^~ /social/ {
|
||||
alias /var/www/yh-public/social/;
|
||||
add_header Cache-Control "public, max-age=300";
|
||||
}
|
||||
|
||||
location ^~ /promotion/ {
|
||||
try_files $uri =404;
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
|
||||
Reference in New Issue
Block a user