Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Patch to force every request to be made with https.

License

Notifications You must be signed in to change notification settings

lucasvscn/laravel-force-https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Force HTTPS

Workaround to deal with a particular environment that kills redirections from port 80 (http) to 443 (https).

Once this package is enabled, the application should force all URLs to be https while in 'production' environment.

Install

Register the ServiceProvider in config/app.php

'providers' => [

    // ...
    LucasVscn\ForceHttps\ServiceProvider::class,
];

About

Patch to force every request to be made with https.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages