Skip to content

Nginx Unit: 404 for hidden folders breaks commonly used routes such as .well-known/* #469

@florian-nolte

Description

@florian-nolte

Steps To Reproduce

The Nginx Unit variant now responds with 404 for "hidden" files and folders, see PR. However, this also affects commonly used URLs starting with .well-known, see https://en.wikipedia.org/wiki/Well-known_URI.

Example: create a file .well-known/security.txt in the web root.

Outcome

What did you expect?

A request to /.well-known/security.txt returns status code 200 and the content of the file.

What happened instead?

The returned status code was 404

Affected Docker Images

All unit variants since 3.4.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions