nginx cache settings added.
Updated command to recreate images.