How do I deploy Streamlit on a domain so it appears to run on a regular port (i.e. port 80)?

You want to deploy a Streamlit app on a domain so it appears to run on port 80.

  • You should use a reverse proxy to forward requests from a webserver like Apache or Nginx to the port where your Streamlit app is running. You can accomplish this in several different ways. The simplest way is to forward all requests sent to your domain so that your Streamlit app appears as the content of your website.

  • Another approach is to configure your webserver to forward requests to designated subfolders (e.g. http://awesomestuff.net/streamlitapp) to different Streamlit apps on the same domain, as in this example config for Nginx submitted by a Streamlit community member.

Related forum posts:

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.