Skip to content

File not found for include with wildcard #139

@RafaelKr

Description

@RafaelKr

I get multiple warnings similiar to the following warnings:

[nginx_parser]	WARNING	File not found: /etc/nginx/modules-enabled/*.conf
[nginx_parser]	WARNING	File not found: /etc/nginx/conf.d/*.conf

It's triggered by include lines with a wildcard include /etc/nginx/modules-enabled/*.conf;

This wildcard pattern is used by nginx installed from the default Debian package repository.
See: https://wiki.debian.org/Nginx/DirectoryStructure

It's not triggered for include /etc/nginx/sites-enabled/*;, so maybe it just happens if the asterisk is in between the include path and not at the end.

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