Copper(II)-catalysed direct C3-H esterification of indoles assisted by an N,N-bidentate auxiliary moiety.