The cookie will be set for the proxy domain so it'll work for all of its subdomains.
It'll be able to handle /proxy requests as well as subdomains.