I can't give the exact rule, off hand, but this gives a good example:
Quote:
from: https://man.openbsd.org/httpd.conf
Code:
The request can also be rewritten with the request rewrite directive:
server "example.com" {
listen on * port 80
location match "/old/(.*)" {
request rewrite "/new/%1"
}
So my guess is yours would be something like:
Code:
location match "/http://localhost/node/1/(.*)" {
request rewrite "/http://localhost/index.php/node/1/%1"
}
|
There is additional examples here:
https://undeadly.org/cgi?action=arti...20180621064643
Maybe it will take some trial and error attempts on your system, and that is why I can not say exactly, I would have to try it, and see, maybe later when I have more time I can test it.