Fixed hostname while deploy as a upstream.