Hello guys,
I want to know what's the best way to deploying a laravel app on web server.
In particular to put the configuration files and the public directory if they are both in the same root directory.
No, I have all the files in the same directory, the root directory of my web server, with a .htaccess file that makes it point requests to the public directory, know what I mean?
About exposing it to the user? The user is mean to access just /public, with css, js and images in it. Nothing else.
Your config files don't go in there.
But maybe i'm misunderstanding. That's why i said if you've modified the tree, please a screenshot-
If you have not moved files around compared to what the default structure is, point your werserver config to /public
and you're fine.