mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-18 14:57:18 +09:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user