Redirect from URL to streamlit app

I’m having difficulty using streamlit in conjunction with nginx. As we know, streamlit apps run on specified ports. However, I would like to establish a redirect of the kind domain/url → domain:port. The nginx part works fine, and the page partially renders but it’s not fully working. Any hints? Thanks!