I am trying to deploy streamlit app using apache. My app is working fine. Generally we run the app like streamlit run app.py
What should be my conf file be like? streamlit doesn’t support WSGI so where should streamlit run app.py come in conf file??
<VirtualHost :80>
ServerName my_portal
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket
RewriteRule /(.) ws://localhost:8501/$1 [P]
RewriteCond %{HTTP:Upgrade} !=websocket
RewriteRule /(.*) http://localhost:8501/$1 [P]
ProxyPassReverse / http://localhost:8501