正确如下: ..(js|css|PNG|jpg|ico|png|gif). .*v2.官方的无效: (?i)..(bmp|css|js|gif|ico|jpe?g|png|swf|woff|woff2) 或者在官方的基础上改为: (?i)..(bmp|css|js|gif|ico|jpe?g|png|swf|woff|woff2).*