eliotsykes / asset_fingerprint

Asset Fingerprint Plugin for Ruby on Rails - allows you to use md5 or timestamps in query string or in asset filenames as suggested by Google Page Speed

Home Page:http://github.com/eliotsykes/asset_fingerprint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NGINX rewrite

wiemann opened this issue · comments

Do you have an idea what the correct hash rewrite term for NGINX is?

Sorry no. If you find it, please advise and submit a patch to add it to the README.

rewrite "^(.+)-fp-[0-9a-z]{32}(.*)" $1$2 last;

should do the trick, btw.

Thanks Joe, added to README and added you to contributors