Skip to content

Default nginx configuration allows downloading un-whitelisted php files as plain text #2317

Closed
@andrewkett

Description

@andrewkett

Using nginx.conf.sample as nginx config, if new php files are added under the pub directory they are downloaded as plain text.

This isn't really a problem with a default install but if custom php files are added without modifying nginx it is potentially a security issue.

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