Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File not found for include with wildcard #139

Open
RafaelKr opened this issue Dec 21, 2023 · 0 comments
Open

File not found for include with wildcard #139

RafaelKr opened this issue Dec 21, 2023 · 0 comments

Comments

@RafaelKr
Copy link

RafaelKr commented Dec 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant