wuhan2020 / COVID-19-Nav

COVID-19 新型冠状病毒肺炎疫情信息导航
http://nav.werty.cn
MIT License
65 stars 19 forks source link

能把线上入口做成https的吗 #4

Closed DrRoad closed 4 years ago

wertycn commented 4 years ago

今天会试试部署SSL , 不过目前图像资源等均为http 混合状态体验更不好

wertycn commented 4 years ago

No description provided.

已将入口升级为https协议 原有http协议暂时保留 , 数据接口统一增加了https协议版本 端口2021 ,原有http接口不变

wertycn commented 4 years ago

https虽好,但是对性能影响有点大,还是要按需使用, 实测用go服务实现的接口直接配置https对性能下降达到90% 以上 本地QPS从 13000 下降到 1000 ,公网QPS也下降了一半