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>
This commit is contained in:
Kenny Wottrich
2026-03-08 14:24:49 -05:00
committed by GitHub
parent d38f0dfe7a
commit 518a274980

View File

@@ -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: