sso: use PCRE regexes instead of LUA regex

This commit is contained in:
Alexandre Aubin 2023-12-23 20:40:20 +01:00
parent 7e7a6845d5
commit 351d9361fa

View file

@ -1637,10 +1637,10 @@ def app_ssowatconf():
+ [domain + "/yunohost/api" for domain in domains]
+ [domain + "/yunohost/portalapi" for domain in domains]
+ [
"re:^[^/]/502%.html$",
"re:^[^/]*/%.well%-known/ynh%-diagnosis/.*$",
"re:^[^/]*/%.well%-known/acme%-challenge/.*$",
"re:^[^/]*/%.well%-known/autoconfig/mail/config%-v1%.1%.xml.*$",
r"re:^[^/]*/502\.html$",
r"re:^[^/]*/\.well-known/ynh-diagnosis/.*$",
r"re:^[^/]*/\.well-known/acme-challenge/.*$",
r"re:^[^/]*/\.well-known/autoconfig/mail/config-v1\.1\.xml.*$",
],
}
}