Failed to setup Apple Universal Links

As followed by the instruction of Support Universal Links, I have finished the following steps:
  • Create an apple-app-site-association file, which is served over https at the root of my domain i.e. https://<my-domain.com>/apple-app-site-association

  • The apple-app-site-association file’s ‘content-type’ header is set to application/json MIME types.

  • The content of apple-app-site-association is as below:

Code Block
{
"applinks": {
"apps": [],
"details": [
{
"appID": "J84F6UX8XQ.com.example.app",
"paths": ["*"]
}
]
}
}
  • Access of apple-app-site-association without any redirects.

  • Create an empty index.html file to the root of domain, so that the url of https://<my-domain.com>/ will return blank page with 200 code. The content of index.html is as below:

Code Block
<html>
<head>
</head>
<body>
</body>
</html>
  • My app runs in iOS 9 or later.

  • The universal links has been setup correctly in my app

After all above steps, I verified the universal links at API Validation Tool. However, I always get an error message:

Code Block
https://<my-domain.com>/ is returning 516. Please check your url and try again.


I never heard of https or nginx return code 516.
At last I failed to test the universal links on a device.

Any help is much appreciated!
Hi, as the problem you described, we may have encountered the same situation. Did you solve this problem later?
I'm having same problem. Any solutions for this?
Another question, how did you set mime type of file?
Failed to setup Apple Universal Links
 
 
Q