MirtoBusico commented on issue #6387:
URL: https://github.com/apache/apisix/issues/6387#issuecomment-1046310248
Strangely for me this gives a syntax error
```
^/pres/(*)
```
but this is acceped and seems to work
```
^/pres/(.*)
```
Now the route definition is
```
{
"uri": "/pres/*",
"name": "pres-test",
"desc": "free access to presentation services",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE"
],
"host": "www.m01.net",
"plugins": {
"proxy-rewrite": {
"regex_uri": [
"^/pres/(.*)",
"/$1"
]
},
"redirect": {
"http_to_https": true
}
},
"upstream_id": "394941006623015714",
"status": 1
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]