Considering you're talking about reverse proxy and not redirect, you should be able to fine tune any detail about it. Maybe try to indicate the domain you want to display in the address bar in the headers, like this, beside the proxy_pass directive:
proxy_set_header Host server_b_domain;