Apple App Site Association (AASA) file wild card matching in paths

I want to create a wildcard matching for the aasa file registered for a website. The url path I need to support is of the type: alpha.domain.com/*/*/*/*/*appname.aspx.

While I believe adding "/*/*/*/*/*appname.aspx" would work, I was wondering if I could just get away with */*appname.aspx. Basically, I don't want to match for each and every url component, I'm only concerned with the link containing appname.aspx. Any suggestions on this?

Apple App Site Association (AASA) file wild card matching in paths
 
 
Q