minus-squarejdf@lemmy.worldtoSelfhosted@lemmy.world•I'm deploying a Laravel app on nginx. Only the main route works, every other throws me a 404linkfedilinkEnglisharrow-up1·edit-22 months agoCheck out this page. https://laravel.com/docs/10.x/deployment You have to redirect all requests to index.php in the public folder. There is a sample Nginx configuration file on this page. linkfedilink
Check out this page. https://laravel.com/docs/10.x/deployment
You have to redirect all requests to index.php in the public folder. There is a sample Nginx configuration file on this page.