nginx config to spec