Summer Sale! All accounts are 50% off this week.

andri9up's avatar

Need advice for deploying laravel project on cpanel

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

0 likes
1 reply
Cronix's avatar

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 or to participate in this conversation.