I'm trying to deploy a project to a vm(linux-nginx-mysql)
.
It's a opensource project called Flarepoint.
I set the conf(nginx/sites-enabled/default)
root to var/www/html/Flarepoint-crm/public
When I go to the /{projectName}/public/
or use command php -S 0.0.0.0:8888
it works and the URL redirects to domain.com/login
But when I visit the URL: domain.com
it redirects to domain.com/login
and shows 404 not found.
Can somebody help me?