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