Tweak REVERSE_PROXY_INCLUDES regex to be less restrictive

This commit is contained in:
Théophile Diot 2024-10-02 06:43:59 +02:00
parent 49c12e71b2
commit 7fc869a8ba
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -186,7 +186,7 @@
"help": "Additional configuration to include in the location block, separated with spaces.",
"id": "reverse-proxy-includes",
"label": "Reverse proxy includes",
"regex": "^(?! )( ?(\\w+)(?!.*\\b\\2\\b))*$",
"regex": "^(?! )( ?([^ ])(?!.*\\b\\2\\b))*$",
"type": "text",
"multiple": "reverse-proxy"
},