Hi,
I am trying to deploy a simple Hello World app on a remote Linux server with Nginx
All I see are skeleton elements trying to load!
Exhausted Streamlit forum, Medium, Stackoverflow etc, including:
Please help!
Hi,
I am trying to deploy a simple Hello World app on a remote Linux server with Nginx
All I see are skeleton elements trying to load!
Exhausted Streamlit forum, Medium, Stackoverflow etc, including:
Please help!
In the browser console it says:
Client Error: WebSocket onerror - index.C1z8KpLA.js:766
sub domain nginx conf file
server {
listen 80;
server_name sub.domain.com;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
location ~ /*/ {
proxy_pass http://127.0.0.1:8502;
}
}
~/.streamlit/config.toml
[server]
port = 8502
headless = true
[browser]
serverAddress = “127.0.0.1”
serverPort = 8502
$ streamlit run app.py
App deployed on Streamlit / Github sleeps and needs a manual reboot!
Please help, trying to promote Streamlit to friends and community for its minimal coding and versitile capabilities ![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.