Skip to content

Proposed Nginx configuration does not allow custom handled 404 page on URI /app.php #5785

@sustmi

Description

@sustmi

Currently proposed Nginx configuration does not propagate URI that starts with /app.php to the application. Instead, Nginx gives plain "404 Not Found" error page.

I tried to install symfony-demo and use the proposed Nginx configuration.
When I go to http://localhost/app99.php I get custom 404 page (rendered through the application).
But http://localhost/app.php gives me a plain 404 error page (directly from Nginx).
The same applies to http://localhost/app.php/anything.

Could you change it to a configuration that propagates all URLs to the application?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions