My favorite way to mount a light to get the light to be mounted low and secure. I do recommend to still take your light off when locking up! It has 2 different depths simply by flipping over the parts. This allows you to get the light as close to your bike as possible but also leaving room for cables, fenders or bags.
Have a front rack with eyelets? Check out the front rack version.