Deploying on RPI with my own domain

Hi.

I am trying to deploy Streamlit app on my domain with IP http://213.168.184.217 where I host my webpages using nginx.
I am hosting the Streamlit app @ http://213.168.184.217:8501

I have no problem connecting my web via my domain url: www.mydevspace.cz
However I have not yet figured out how to host the Streamlit app @ www.mydevspace.cz:8501

How is this solved the best? I do not want users to access the app via ugly link http://213.168.184.217:8501/ and using href at my main page does not seem as an elegant solution.

Does anyone know?

Goddamit I’ve just figured out.
It really is as easy as this:

  1. create config.toml in .streamlit

inside the file put:

[server]
headless = true

[browser]
serverAddress = “www.mydevspace.cz”

2 Likes