gixy
gixy copied to clipboard
`File not found` for include with wildcard
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.