I'm using this Gist to rewrite the urls on a localized website running on nginx. It's working fine, except for the account activation links. They are localized as well, but they shouldn't. I'm sure there can be made an exception in the rewrite rule for all urls starting with /actions. But I don't know how. Can anybody help?