Level 1
Do you have this: https://laravel.com/docs/5.4/installation#pretty-urls
location / {
try_files $uri $uri/ /index.php?$query_string;
}
All requests must be redirected to index.php
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
We have a server built using Laravel Forge. We are currently having an issue with the current nginx setup where it just shows "No input file specified." when a .php extension is appended to a URL. Is there a way to stop this happening and for it to return the 404 page instead?
Please or to participate in this conversation.