For canbus, the ends are usually loosely defined as the ends of the wires that are furthest away from one another, seeing as canbus is preffered as a piggyback bus instead of a trunk and branch topology, its usually clear where the ends are,
Other ways are 1 on the most active node, and some fractional ones at the ends of each branch if its closer to a star topology, trying to keep the total load around 60 ohms, though honestly I have never seen a bus fail in the wild with only 1 terminated 120 ohm node
Then there are intelligent can trancievers that can automatically switch in a termination resistor if it detects it is lacking one, but they tend to cost about 3x as much, from memory an optofet and a resistor was about the same price and a bit harder to kill.
Edit: Remove that capacitor, It will only cause you greif, can is a differential pair, so it doesnt need added capacitance to soak up differential mode noise