diff options
Diffstat (limited to 'src/syntax_mapping.rs')
-rw-r--r-- | src/syntax_mapping.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/syntax_mapping.rs b/src/syntax_mapping.rs index da6e45c7..2451a752 100644 --- a/src/syntax_mapping.rs +++ b/src/syntax_mapping.rs @@ -57,6 +57,11 @@ impl<'a> SyntaxMapping<'a> { .insert("*.conf", MappingTarget::MapToUnknown) .unwrap(); + // Re-insert a mapping for resolv.conf, see #1510 + mapping + .insert("resolv.conf", MappingTarget::MapTo("resolv")) + .unwrap(); + for glob in &[ "/etc/nginx/**/*.conf", "/etc/nginx/sites-*/**/*", |