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