-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
I use LaraEstimate behind Nginx proxy_pass with SSL.
Here is my modification to force the app to generate links and routes with https :
root/app/Providers/AppServiceProvider.php
- Add
use Illuminate\Support\Facades\URL;:
<?php
namespace App\Providers;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
use KgBot\LaravelLocalization\Facades\ExportLocalizations;
use Illuminate\Support\Facades\URL;
...- Add
URL::forceScheme('https');inboot()function :
public function boot()
{
URL::forceScheme('https');
...Metadata
Metadata
Assignees
Labels
No labels