我的博客主页:笔头博客
修改TrustProxies 中间件,同时也要nginx支持
protected $proxies = '*';
protected $headers = Request::HEADER_X_FORWARDED_ALL;
我的博客主页:笔头博客
修改TrustProxies 中间件,同时也要nginx支持
protected $proxies = '*';
protected $headers = Request::HEADER_X_FORWARDED_ALL;
本文标题:Laravel 配置阿里云CND后获取客户端IP地址
本文链接:https://www.haomeiwen.com/subject/tjvlmqtx.html
网友评论