部署在宝塔
1,在www/wwwroot创建一个文件夹如:ac
2,下载项目:https://github.com/YunYouJun/air-conditioner
3,解压
4,ssh运行下面命令
cd /www/wwwroot/ac
yarn install
yarn...
本以为是服务器的问题,然后给服务器供应商提交了工单,发现是网站程序的某些模块加载时间过长,cdn的回源请求超时时间是30秒,最终导致504。
折腾了一个晚上,逐步排查发现是module.php中,头像的加载有问题。在获取Gravatar头像并缓存到本地这一块,https://secure.gravatar.com/ 这个Gr...