|
@@ -38,8 +38,9 @@ server {
|
|
|
}
|
|
|
|
|
|
location ^~ /static {
|
|
|
- rewrite ^/static/(.*)$ /$1 break; #重写
|
|
|
- proxy_pass http://cloudimg-xypp.xinyuepp.cn/;
|
|
|
+ #rewrite ^/static/(.*)$ /$1 break; #重写
|
|
|
+ #proxy_pass http://cloudimg-xypp.xinyuepp.cn/;
|
|
|
+ rewrite (.+) http://cloudimg-xypp.xinyuepp.cn/ permanent;
|
|
|
}
|
|
|
|
|
|
location ^~ /assets/images {
|