具体步骤包括:
1.创建httpd网站访问文件夹:
mkdir -p /C/Users/xxx/Downloads/httpd-2.4.46-o111g-x86-vc15/Apache24/htdocs
2.运行httpd服务器:
docker run -dit --name my-apache-app -p 8080:80 -v /C/Users/xxx/Downloads/httpd-2.4.46-o111g-x86-vc15/Apache24/htdocs:/usr/local/apache2/htdocs/ httpd:2.4
3.建立文本文件 apple-app-site-association的信息写入到网站访问文件夹下
{
"applinks": {
"apps": [],
"details": [
{
"appID": "xxx.com.xxx.xxx",
"paths": ["*"]
}
]
}
}