updated media url, nginx conf