Clear your configuration cache. php artisan optimize:clear
Dec 13, 2023
3
Level 1
Base URL Laravel
I have ECS server in Alibabacloud using Ubuntu 20. I'm uploaded the laravel project into server. with http, my project run perfectly. Then I installed SSL into my laravel project. The SSL was installed successfully. but when I open in browser, the route calling 127.0.0.1:8005 not my domain.
When I view page source, it's seen like this
<link rel="icon" href="ht*tp://127.0.0.1:8005/template/images/logo-sma.png">
<link href="ht*tp://127.0.0.1:8005/template/css/style.css" rel="stylesheet">
<link href="ht*tp://127.0.0.1:8005/template/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
I edited my .env like this
APP_URL=ht**tps://portal.serbamuliaauto.com
Is there something I forgot to edit?
Please or to participate in this conversation.