-
添加代码:
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
proxy_pass http://www.teirea.cn;
}
location ~ .*\.(js|css)?$
{
proxy_pass http://www.teirea.cn;
}
-
重启nginx:
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
proxy_pass http://www.teirea.cn;
}
location ~ .*\.(js|css)?$
{
proxy_pass http://www.teirea.cn;
}