Level 1
I found this solution http://stackoverflow.com/questions/28402726/laravel-5-redirect-to-https
Worked well for me.
Thanks for all the help :(
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello.
I developed a simple laravel application and I am trying to deploy on a server with SSL certificate. Assets and forms urls are giving problems.
What is the best way to force all requests to use https only when in production environment? I don't want to hard code anything, so that my code keeps working on my dev environment.
Any pointers appreciated...
Thanks
I found this solution http://stackoverflow.com/questions/28402726/laravel-5-redirect-to-https
Worked well for me.
Thanks for all the help :(
Please or to participate in this conversation.