IIS Reverse Proxy and Windows Authentication for Streamlit

Introduction

Setting up a reverse proxy on IIS (Internet Information Services) allows us to take advantage of windows authentication.
This means we can limit access to a streamlit app to a specific Active Directory group, Local group or list of Active Directory users.

I moved this content to gist so I could include more screenshots.

4 Likes

Hi @stanorama ,

Thanks for sharing this procedure. I’m confused by the presence of {R:0} in the rewrite rule. In your example, clients browse to " http://myserver:8666", and according to the URL Rewrite docs, only the β€œpath” is used in the pattern. Therefore, if I understand correctly, the matching pattern should be empty in this case, so why using {R:0} ?