added api route to nginx