Since power supplies typically have very low output impedance (usually less than 1 Ω), a 50 Ω resistor should be placed in series at the power supply end of the coaxial cable.
On the oscilloscope side, where the input impedance is typically high (around 1 MΩ), a 50 Ω resistor should be connected in parallel.
This setup creates a matched 50 Ω impedance environment, minimizing signal reflections at both ends.
However, modifying your cable to add a series resistor at the power supply looks impossible, but matching the impedance at the oscilloscope side is generally more important, as it prevents reflections from that end. You can typically ignore impedance matching at the power supply side in this case, since no signals are propagating from the oscilloscope toward the source.
That said, impedance matching is only necessary when measuring high-frequency signals. For DC voltage measurements, such precautions are not required, and a direct connection is usually sufficient.