使用AWS的HTTPS找不到Laravel路由

I just upgraded my HTTP to HTTPS through AWS(ACM) with ELB. My folder structure is like this,

htdocs-
    -index.html
    -myproject(laravel starts here)
      -index.php
      -folder(it contains config and all other folders)

Now without HTTPS Redirect code it works perfectly, but as soon as i add this code which is provided by AWS ACM my landing page comes perfectly but next route gives 404 error.

<VirtualHost *:80>
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule . https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]
</VirtualHost>

My laravel webpage starts from,

https://www.spontieapp.com/mobile

my httpd.conf content is , https://pastebin.com/ArUDP6Xg

my .htaccess is , https://pastebin.com/wU72Zbau

.htaccess is present under /mobile folder

Please assist on resolving it . Thanks

Try the following rewrite rules:

RewriteEngine On
# This will enable the Rewrite capabilities

RewriteCond %{HTTPS} !=on
# This checks to make sure the connection is not already HTTPS

RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
# This rule will redirect users from their original location, to the same location but using HTTPS.
# i.e.  http://www.example.com/foo/ to https://www.example.com/foo/
# The leading slash is made optional so that this will work either in httpd.conf
# or .htaccess context

https://wiki.apache.org/httpd/RewriteHTTPToHTTPS

... you will need to ensure that you place this in a .htaccess file in the root of the site you want to apply it against, and to make sure you have the appropriate AllowOverride configuration in your httpd.conf