Simple example of authentication with NGINX & Streamlit?

I’m trying to put the Streamlit app running on host:6006 behind nginx authentication but can’t seems to find any relevant documents. Any guide or link that I can check?

This is my current setup:

- ML model running on EC2 instance @ host:8080
- Streamlit app running on EC2 instance @ host:6006 and accessing ML model.

Issue: How can I add user id & password authentication on top of my streamlit app so that I can share it with other people?

1 Like