Meteor 1.7 - how to generate separate path to app.js for legacy browsers?

Hi folks!

I want to serve generated js/css files (like app.js) with nginx from disk without calling meteor at all.

However all links are like https://example.com/app/app.js?hash=blah-blah-blah
Where only hash depends on legacy/modern browser detection.

Is there is any way to tell meteor to generate links like https://example.com/legacy/app/app.js?hash=hash for legacy browsers?