SSL
Install SSL certificate on your hosting
You may use the SSL feature on your cPanel to provide an SSL Certificate for your website or you may use a free SSL certificate provider like Let's Encrypt.
Redirect http to https
  1. Change the following code in .env file from APP_URL=http://domain.com to APP_URL=https://domain.com.
  2. There have 3 options:
  1. Option 1: Add ENABLE_HTTPS_SUPPORT=true to .env file
  2. Option 2: Add to .env file following code:
FORCE_SCHEMA=https
FORCE_ROOT_URL=https://domain.com
ENABLE_HTTPS_SUPPORT=false
  1. Option 3: If you are using hosting and Cpanel, you can Force HTTPS Redirection for your domains. Check this article.