From 518a274980b19e025a678b6039f1f5aa9bae8cc7 Mon Sep 17 00:00:00 2001 From: Kenny Wottrich Date: Sun, 8 Mar 2026 14:24:49 -0500 Subject: [PATCH] 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 --------- Co-authored-by: Mikko --- runtime/syntax/nginx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/nginx.yaml b/runtime/syntax/nginx.yaml index 02ea6eb0..af4598bc 100644 --- a/runtime/syntax/nginx.yaml +++ b/runtime/syntax/nginx.yaml @@ -1,7 +1,7 @@ filetype: nginx detect: - filename: "nginx.*\\.conf$|\\.nginx$" + filename: "nginx.*\\.conf$|\\.nginx$|\\.sub(domain|folder)\\.conf$" header: "^(server|upstream)[a-z ]*\\{$" rules: