[nginx] Use flag "last" instead of "break" for rewrites