Need advice for deploying laravel project on cpanel

Published 1 month ago by andri9up

Hello,

I have uploaded my project to root folder of my cpanel and make the public folder inside my laravel project as document root (please see this screenshot for better understanding https://imgur.com/a/iXys26G ).

Is there any security concern for this method?

Thanks

Cronix
Cronix
1 month ago (571,710 XP)

No, that's how it should be. The only thing that should be exposed to the outside world is the /public dir of laravel.

Please sign in or create an account to participate in this conversation.