Authored by chunhua.zhang

add ios Universal Links

{
"applinks": {
"apps": [],
"details": [
{
"appID": "6U82P566A4.com.yoho.buy",
"paths": [ "*"]
},
{
"appID": "EX33S4LRW7.com.yoho.buy",
"paths": [ "*" ]
},
{
"appID": "FP8T8KM2NE.com.yoho.buy.c3",
"paths": [ "*" ]
}
]
}
}
... ...
... ... @@ -36,13 +36,13 @@ server{
root /usr/local/nginx/html;
}
# for ios Universal Links
location /.well-known/apple-app-site-association {
proxy_pass http://activity.yoho.cn/.well-known/apple-app-site-association;
root /Data/local/openresty-1.9.15.1/nginx/conf;
}
location / {
proxy_redirect off;
proxy_pass http://union_pools;
... ...
... ... @@ -8,10 +8,12 @@ server {
# for ios Universal Links
location /.well-known/apple-app-site-association {
proxy_pass http://activity.yoho.cn/.well-known/apple-app-site-association;
root /Data/local/openresty-1.9.15.1/nginx/conf;
}
# for download app
location / {
return 301 https://union.yoho.cn/union/app-downloads.html;
... ...