Hello,
I’m trying to setup a server that uses Caddy to manage several streamlit demo.
My aim is to be able to do:
myserver.com/demo1
myserver.com/demo2
I think I’m in the right direction with the Caddy configuration.
This is the Caddyfile:
myserver:5000
proxy /demo1 http://localhost:8501/ {
without /demo1
}
The page loads the streamlit app, but then it is stuck in this loading:
Same behaviour with a simpler Caddyfile:
$ cat Caddyfile
myserver:5000
proxy / http://localhost:8501/ {
}
The streamlit app works normally if it is opened directly.
I tried the solution proposed here:
$ cat ~/.streamlit/config.toml
[server]
enableCORS = false
But it doesn’t work.
Do you have any suggestion?