gixy icon indicating copy to clipboard operation
gixy copied to clipboard

`File not found` for include with wildcard

Open RafaelKr opened this issue 1 year ago • 0 comments

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.

RafaelKr avatar Dec 21 '23 13:12 RafaelKr