PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved
santi-centelles

Mar 8th, 2018 11:33 AM

Hello, today I've installed Let's Encrypt SSL certificate on my server and need to know which changes have to do on the script to make it works fine.

Thanks

lord-spown

Mar 8th, 2018 01:03 PM

.env and modify your link to https://......

iambuxer

Mar 8th, 2018 01:20 PM

Hi.

In the folder application open the file .env then find the line APP_URL and modify your URL with https

After that, in the root directory of your website open your .htaccess file and put this code under RewriteEngine On

RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://YOURSITE.com/$1 [R,L] 

(modify YOURSITE.com with your website URL)

That way you will be always redirected to the https version of your site.