mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-07 15:33:56 +09:00
allow forcing https for reverse proxy use
This commit is contained in:
2
.env
2
.env
@@ -29,3 +29,5 @@ PUSHER_APP_ID=
|
||||
PUSHER_APP_KEY=
|
||||
PUSHER_APP_SECRET=
|
||||
PUSHER_APP_CLUSTER=mt1
|
||||
|
||||
FORCE_HTTPS=true
|
||||
@@ -54,6 +54,12 @@ class AppServiceProvider extends ServiceProvider
|
||||
}
|
||||
view()->share('alt_bg', $alt_bg);
|
||||
|
||||
var_dump(env('FORCE_HTTPS'));
|
||||
|
||||
if (env('FORCE_HTTPS') === true) {
|
||||
\URL::forceScheme('https');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user