Use OSRM profiles for different transport modes
masterOSRM uses profiles to define routing behavior for different transport modes (e.g., car, bicycle, foot) or specific preferences (e.g., fastest vs. shortest). Profiles are Lua scripts that determine which ways are routable, which nodes can be passed, and the travel speeds.
Important: Profiles are applied during the preprocessing stage, not at query time. If you modify a profile, you must re-run the osrm-extract, osrm-contract, and reload the data to apply the changes.