Security has been deployed outside the Hanuman Garhi temple in Ayodhya in view of the rising influx of devotees in the city.