mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Revert "Fix errors regex, authorize same path for multiple errors"
This reverts commit be0df41609
.
This commit is contained in:
parent
be0df41609
commit
5845446b9f
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
"help": "List of HTTP error code and corresponding error pages, separated with spaces (404=/my404.html 403=/errors/403.html ...).",
|
||||
"id": "errors",
|
||||
"label": "Errors",
|
||||
"regex": "^(?! )( ?([1-5]\\d{2}(?!.*\\2(?![^=])))=/[\\w\\].~:/?#[@!$&'()*+,;=-]*)*$",
|
||||
"regex": "^(?! )( ?([1-5]\\d{2})(?!.*\\2(?![^=]))=(/[\\w\\].~:/?#[@!$&'()*+,;=-]*)(?!.*\\3(?!.)))*$",
|
||||
"type": "text"
|
||||
},
|
||||
"INTERCEPTED_ERROR_CODES": {
|
||||
|
|
Loading…
Reference in a new issue