Fix force https for some reverse proxies, Add url and path to debug endpoint

This commit is contained in:
Constantin Graf
2024-11-12 19:03:36 +01:00
parent 31014c1e29
commit 64b41e3018
2 changed files with 3 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ class AppServiceProvider extends ServiceProvider
if (config('app.force_https', false)) {
URL::forceScheme('https');
request()->server->set('HTTPS', 'on');
request()->server->set('X-Forward-Proto', 'https');
}
$this->app->scoped(PermissionStore::class, function (Application $app): PermissionStore {