Updating nginx configuration and added media folder.