Is the following behaviour possible only with nginx directives?

I want to visit the page: https://example.com/xyz When hitting enter in the adressbar I want an immediate download of the file abc.tst to be presented to the user but the adressbar should not change, it should "stay" on https://example.com/xyz and not go to https://example.com/abc.tst and the name of the downloaded file should not change to xyz.

I have experimented with various rewrite rules, or locations but can't seem to figure it out...