From 86c45771272a4b41db66ebb1fd0691176adc2717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Michaud?= Date: Wed, 16 Dec 2020 01:00:58 +0100 Subject: [PATCH] [DOCS] Add a note on regexps in ACLs (#1533) Fixes #1523 --- docs/configuration/access-control.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/configuration/access-control.md b/docs/configuration/access-control.md index 671fdb60..8808357f 100644 --- a/docs/configuration/access-control.md +++ b/docs/configuration/access-control.md @@ -64,6 +64,13 @@ A rule can define multiple regular expressions for matching the path of the reso similar to the list of domains. If any one of them matches, the resource criteria of the rule matches. +Note that regular expressions can be used to match a given path. However, they do not match +the query parameters in the URL, only the path. + +You might also face some escaping issues preventing Authelia to start. Please make sure that +when you are using regular expressions, you enclose them between quotes. It's optional but +it will likely save you a lot of debugging time. + ## Subjects