Redirecting from nginx vs application (python bottle)?

we are currently doing a redirect from our app to another internal application. The redirect was written from the application level bottle and redirects to another UI using a dynamic ID. Are there are hard fast best practices for redirects? Does doing it at the application level vs NGINX level effects performance? Any first hand knowledge on which approach if any is more efficient/better? application level is what we currently have, and it works. Is there are valid benefit to take the time to redo it at the nginx level? Our Nginx Handles the URL from the application redirect. Diagram:
enter image description here