错误提示: Get https://res.ddkt365.com/ddktRes/imageRes/wx_headimg/0f1d9e55913c22bcaf7cca9b38048d29.jpeg: x509: certificate signed by unknown authority -> http.Getpanic: runtime error: invalid memory address or nil pointer dereference 是 CA 证书的问题,解决方案就是 拷贝
一.Ioc容器 某天,小J心血来潮,决定建造一艘星舰,这艘星舰要搭载"与众不同最时尚,开火肯定棒"的电磁炮.于是他写了一个星舰类: class ElectromagneticGun { public function fire() { echo 'da da da!'; } } class StarShip { protected $gun; public function __construct() { $gun = new ElectromagneticGun(); } } $po
1.引言 紧接上篇.NET Core容器化@Docker,这一节我们先来介绍如何使用Nginx来完成.NET Core应用的反向代理,然后再介绍多容器应用的部署问题. 2. Why Need Nginx .NET Core中默认的Web Server为Kestrel. Kestrel is great for serving dynamic content from ASP.NET, however the web serving parts aren't as feature rich as