1、修改/config/app.php
'url' => env('APP_URL', '网站链接'),
'asset_url' => env('ASSET_URL', '网站链接'),
2、/app/Providers/ApServiceProvider.php`第 32 行下面追加一行:
\Illuminate\Support\Facades\URL::forceScheme('https');
3、反代配置中增加一行
proxy_set_header X-Forwarded-Host $http_host;
Comments | NOTHING