Nginx config template fixed for media