The thru-axle goes into the brake rotor side of the hub and screws into the drive side fork leg.
Before you do that, check your work. Looks like there's a seal peeking out from under the endcap/locknut assembly:
Last edited by Rolla; 03-28-22 at 11:50 PM.