Laravel: how to force HTTPS?
I'm starting to develop a new big app, and I'm using Laravel this time, and it's the first time. I need to force HTTPS for all pages, it's not important if from code or by .htaccess, but I'm not able to find a simple tutorial. The official docs dosn't speak about this problem. For info, my acutal .htaccess is <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d