默认的竟然不支持,经过一顿猛如虎的操作,终于找到解决办法

最终在看到这个页面,试了后才算是解决了问题:http://landcareweb.com/questions/17951/laravelcong-lu-you-sheng-cheng-an-quan-de-https-url

让Laravel支持https

public function boot()
    {
        //
        $this->app['request']->server->set('HTTPS', $this->app->environment() != 'local');      //让Laravel支持https,且区分本地

    }

而且发现https走的路径竟然和http不一样,Laravel真是博大精深啊!

相关文章: