Hi there,
I’m trying to deploy streamlit app on was lightsail using nginx, but whenever I open the link generated after the deployment it opens the nginx welcome page.
Here’s the project.conf file content:
server {
listen 80;
location / {
proxy_pass http://127.0.0.1:8501/;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400;
}
}