In local environment I can navigatate to domain.com/app but in AWS it only works if I use domain.com/public/app. I have tried a number approaches to get it to resolve without public folder
I tried 2 different approaches already:
Added .htaccess mod_rewrite but it provides an error below.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Laravel NotFoundHttpException in compiled.php line 7610.
Added URL::forceScheme('https');
to AppServiceProvider.php
but only changes the links inside views to https, does redirect when user enters into browser from http to https
I do not want to rename the server.php to index.php as this is not an optimally secure approach.
Any other way to get http to https without using Homestead?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire