Moving to API urls with no ports (nginx redirect)