Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

有什么方式可支持http环境定位? 百度地图定位不准,其他的地图API都需要https环境

有什么办法可以在http环境下用高德之类的API做定位服务的吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

测试环境下,你可以是给你自签发证书. 生产环境下,阿里云和腾讯云都可以申请有效期为一年的免费证书,快过期时重新申请即可.喜欢折腾的话,使用 Let's Encrypt 免费的证书,有效期3个月,可以用脚本自动续期,还能申请泛域名证书.

有免费的方式让你的环境升级到 https,你为啥非要在 http里折腾.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...