fix setting ip/port in nginx config