Skip to content

[Symfony] Provide a better nginx conf for Symfony #552

@Frzk

Description

@Frzk

The current nginx configuration setup by the buildpack for Symfony seems totally outdated.

A customer got good results with:

location / {
  try_files $uri /index.php$is_args$args;
}

And setting DOCUMENT_ROOT to public.

The buildpack could probably benefit from a good update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions