Securing Streamlit with SSL using NGINX Reverse Proxy

Introduction If you are here, I am assuming you already have a Streamlit application built out and are now looking to secure it with SSL. Even though Streamlit has built-in support for SSL, it is only recommended for development and the official documentation recommends using a reverse proxy with ssl for production deployments. This post will show you how to configure NGINX as a reverse proxy on your Linux machine (Ubuntu in this case), obtain SSL certificates from Let’s Encrypt, and automatically configure NGINX to use them, including automatic redirects to HTTPS from HTTP....

September 29, 2023 · 3 min · Naga Puttagunta