dev #2
@@ -18,7 +18,7 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
// Force HTTPS when behind a proxy (Traefik)
|
// Force HTTPS when behind a proxy (Traefik)
|
||||||
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
|
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
|
||||||
\URL::forceScheme('https');
|
\URL::forceSchema('https');
|
||||||
}
|
}
|
||||||
|
|
||||||
Storage::extend('sftp', function ($app, $config) {
|
Storage::extend('sftp', function ($app, $config) {
|
||||||
|
|||||||
Reference in New Issue
Block a user