Skip to content

Commit 518a274

Browse files
Add detection for SWAG nginx proxy confs (#4036)
* Add detection for SWAG nginx proxy confs These nginx config files have the format "appname.subdomain.conf" or "appname.subfolder.conf" * Excape dot in regex Co-authored-by: Mikko <Andriamanitra@users.noreply.github.com> --------- Co-authored-by: Mikko <Andriamanitra@users.noreply.github.com>
1 parent d38f0df commit 518a274

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime/syntax/nginx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
filetype: nginx
22

33
detect:
4-
filename: "nginx.*\\.conf$|\\.nginx$"
4+
filename: "nginx.*\\.conf$|\\.nginx$|\\.sub(domain|folder)\\.conf$"
55
header: "^(server|upstream)[a-z ]*\\{$"
66

77
rules:

0 commit comments

Comments
 (0)