fix: regex was not quite working 2
Previous version had a + instead of * + means to match one or more * means to match 0 or more
This commit is contained in:
parent
f55d23e821
commit
e7e5d554b2
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
# this redirects old links to new format
|
# this redirects old links to new format
|
||||||
"~* ~(?<username>[a-z_0-9]*)(?<files>.*)$" = {
|
"~* ~(?<username>[a-z_0-9]*)(?<files>\\S*)$" = {
|
||||||
priority = 1;
|
priority = 1;
|
||||||
return = "307 https://$username.users.skynet.ie$files";
|
return = "307 https://$username.users.skynet.ie$files";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue