mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
sso: use PCRE regexes instead of LUA regex
This commit is contained in:
parent
7e7a6845d5
commit
351d9361fa
1 changed files with 4 additions and 4 deletions
|
@ -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.*$",
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue