Comment on I'm deploying a Laravel app on nginx. Only the main route works, every other throws me a 404
spirinolas@lemmy.world 2 months agoI already went through that. I wouldn’t post here without starting with the official documentation.
Comment on I'm deploying a Laravel app on nginx. Only the main route works, every other throws me a 404
spirinolas@lemmy.world 2 months agoI already went through that. I wouldn’t post here without starting with the official documentation.
BaalInvoker@lemmy.eco.br 2 months ago
Why are you using that?
You’re denying the access to your root, which is the
public/
folder and has the file.htaccess
that hasThis file handles the income requests and send to the front controller.
fluckx@lemmy.world 2 months ago
The .htaccess file does nothing on nginx though.