Changing the REST path on the Linux side

I do not want the REST endpoints to be at /arduino/digitial/1, but at /control/off. The /arduino path needs to be changed to /control, but question is where/how.

I searched quite a bit to see where in the uhttpd server the arduino traffic is routed and I could not find it. Does anybody know?

Anybody that can help making a small change to http server for new REST endpoints? Thanks