Hi all, Our server needs to do the following conversion "fromToCalendar_nw-v-29032011.js ---> fromToCalendar_nw.js" In Apache, the rule that was being used was, "RewriteRule ^/(.*)-v[0-9.]+(\.css|\.js|\.gif|\.png|\.jpg|\.swf)$ /$1$2 " Now we are using nginx, and we need to make the same conversion. I tried the following two rules 1.rewrite ^/(.*)-v[0-by libindas - Other discussion
Our server needs to do the following conversion "fromToCalendar_nw-v-29032011.js ---> fromToCalendar_nw.js" In Apache, the rule that was being used was, "RewriteRule ^/(.*)-v[0-9.]+(\.css|\.js|\.gif|\.png|\.jpg|\.swf)$ /$1$2 " Now we are using nginx, and we need to make the same conversion. I tried the following two rules 1.rewrite ^/(.*)-v[0-9.]+(.css|.by libindas - Migration from Other Servers