vaultwarden, matrix-synapse: fix regex escapes
Escaping theses chars is not required and misleading.
Martin Weinelt committed
Feb 16, 2026 at 03:10 UTC
886c3375e7932d8395333010d4a98bea0249ce5e
2 files changed
+3
-3
non-critical-infra/modules/matrix-synapse.nix
+1
-1
@@ -134,7 +134,7 @@
134
forceSSL = true;
135
enableACME = true;
136
137
- locations."~* ^(\/_matrix|\/_synapse)" = {
137
+ locations."~* ^(/_matrix|/_synapse)" = {
138
proxyPass = "http://matrix-synapse";
139
};
140
locations."= /metrics" = {
non-critical-infra/modules/vaultwarden.nix
+2
-2
@@ -58,7 +58,7 @@
58
filter = {
59
INCLUDES.before = "common.conf";
60
Definition = {
61
- failregex = "^.*Username or password is incorrect\. Try again\. IP: <ADDR>\. Username:.*$";
61
+ failregex = "^.*Username or password is incorrect. Try again. IP: <ADDR>. Username:.*$";
62
ignoreregex = "";
63
};
64
};
@@ -76,7 +76,7 @@
76
filter = {
77
INCLUDES.before = "common.conf";
78
Definition = {
79
- failregex = "^.*Invalid admin token\. IP: <ADDR>.*$";
79
+ failregex = "^.*Invalid admin token. IP: <ADDR>.*$";
80
ignoreregex = "";
81
};
82
};