App proxy not working on store subdomain

kushagrapushowl
Tourist
5 0 1

Hello

I wanted to get some help on an issue, which probably is a bug in Shopify's App proxy feature.
App proxy lets us define a proxy url on the stores. But it seems to be not working on stores which have subdomains

for eg.

https://nacloset.com is a store that has us installed.

We define through app proxy that any url from /apps/pushowl to proxy to our servers.

So that is why https://nacloset.com/apps/pushowl/sdks/service-worker.js works

But nacloset.com also has a subdomain running -> https://en.nacloset.com/

Ideally,  app proxy should work here too. But notice what happens on this url -> https://en.nacloset.com/apps/pushowl/sdks/service-worker.js

It gets redirected to https://nacloset.com/apps/pushowl/sdks/service-worker.js i.e. the main domain.

 
Is there a way to have app proxy work correctly on subdomains?