Deploy streamlit on aws lightsail using docker and nginx

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_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;


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.