I have two subdomains: https://abc.xxxx.com and https://xyz.xxxx.com. So my questions:
1). is it possible to register a service worker for https://x
Try use Ngnix proxy_pass. This work for me.