摘要:
由于之前项目中没有使用过 Guzzle ,所以记录下读取结果的方法。 $client = new \GuzzleHttp\Client(); # 获取一个外部 API 接口: $response = $client->get('http://api.map.baidu.com/geocoder/v2 阅读全文
摘要:
1、申请 SSL 证书。 2、将申请证书里的 key 文件和 crt 文件上传到/usr/local/nginx/conf/ssl/ 文件夹下,如果没有ssl文件夹,可以自己新建。 3、修改 nginx 配置文件: server { listen 80 default_server reusepor 阅读全文