Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mecjos's avatar

Laravel Api Https Configuration

Hi everyone.. I have just deployed my new project to cloud and I set up ssl certificate to my frontend app and landing page. Sınce my spa use https protocol I have to set up ssl for laravel api.. at least I understood like that. Before install ssl on my api server, should I make any configuration on laravel api for https ?

0 likes
3 replies
mecjos's avatar

@jlrdw thank you.. this method is for redirecting non secure requests, if any non secure request is directed to your api. Actually I wonder whether there is another important points about using ssl on laravel. Actually I don't want to redirect all requests to https because ssl is slowing down the processes. Laravel's internal url creations might be http instead of https I guess. Like those points, Is there any doc for significant points for using ssl on laravel ?

Please or to participate in this conversation.