Why not using `location = /last-modified` for all the location blocks? Faster matches ftw!