1117 3.3v voltage regulator

surepic:
My question is why on 1117 is oposite of other regulator circuits that 0.1uf capacitor is always at Vout and bigger capacitor is always at Vin?

Most likely because it's a different regulator.

That said, I normlly put 0.1µ ceramic + 10-100µF electrolytic or tantalum on both sides.