Add upfile rule to nginx configuration