add ios Universal Links
Showing
3 changed files
with
25 additions
and
3 deletions
1 | + | ||
2 | +{ | ||
3 | + "applinks": { | ||
4 | + "apps": [], | ||
5 | + "details": [ | ||
6 | + { | ||
7 | + "appID": "6U82P566A4.com.yoho.buy", | ||
8 | + "paths": [ "*"] | ||
9 | + }, | ||
10 | + { | ||
11 | + "appID": "EX33S4LRW7.com.yoho.buy", | ||
12 | + "paths": [ "*" ] | ||
13 | + }, | ||
14 | + { | ||
15 | + "appID": "FP8T8KM2NE.com.yoho.buy.c3", | ||
16 | + "paths": [ "*" ] | ||
17 | + } | ||
18 | + ] | ||
19 | + } | ||
20 | +} |
@@ -36,13 +36,13 @@ server{ | @@ -36,13 +36,13 @@ server{ | ||
36 | root /usr/local/nginx/html; | 36 | root /usr/local/nginx/html; |
37 | } | 37 | } |
38 | 38 | ||
39 | + # for ios Universal Links | ||
39 | location /.well-known/apple-app-site-association { | 40 | location /.well-known/apple-app-site-association { |
40 | - proxy_pass http://activity.yoho.cn/.well-known/apple-app-site-association; | 41 | + root /Data/local/openresty-1.9.15.1/nginx/conf; |
41 | } | 42 | } |
42 | 43 | ||
43 | 44 | ||
44 | 45 | ||
45 | - | ||
46 | location / { | 46 | location / { |
47 | proxy_redirect off; | 47 | proxy_redirect off; |
48 | proxy_pass http://union_pools; | 48 | proxy_pass http://union_pools; |
@@ -8,10 +8,12 @@ server { | @@ -8,10 +8,12 @@ server { | ||
8 | 8 | ||
9 | 9 | ||
10 | 10 | ||
11 | + # for ios Universal Links | ||
11 | location /.well-known/apple-app-site-association { | 12 | location /.well-known/apple-app-site-association { |
12 | - proxy_pass http://activity.yoho.cn/.well-known/apple-app-site-association; | 13 | + root /Data/local/openresty-1.9.15.1/nginx/conf; |
13 | } | 14 | } |
14 | 15 | ||
16 | + | ||
15 | # for download app | 17 | # for download app |
16 | location / { | 18 | location / { |
17 | return 301 https://union.yoho.cn/union/app-downloads.html; | 19 | return 301 https://union.yoho.cn/union/app-downloads.html; |
-
Please register or login to post a comment