# Using streamlit behind a reverse proxy

**URL:** <https://discuss.streamlit.io/t/using-streamlit-behind-a-reverse-proxy/459>\
**Category:** Deployment\
**Created:** [October 14, 2019, 7:56pm UTC](https://discuss.streamlit.io/t/using-streamlit-behind-a-reverse-proxy/459 "2019-10-14T19:56:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akravetz](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/akravetz/32/362_2.png) [@akravetz](https://discuss.streamlit.io/u/akravetz)\
**Post date:** [October 14, 2019, 7:56pm UTC](https://discuss.streamlit.io/t/using-streamlit-behind-a-reverse-proxy/459/1 "2019-10-14T19:56:40Z")

</div>

Is it possible to use streamlit from behind a reverse proxy? It appears that naively proxying streamlit to an address in the form of [http://host.com/user/streamlit](http://host.com/user/streamlit) only yields 404 errors from streamlit (not the underlying proxy)

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/thiago/32/22_2.png) [@thiago](https://discuss.streamlit.io/u/thiago)\
**Post date:** [October 17, 2019, 6:44pm UTC](https://discuss.streamlit.io/t/using-streamlit-behind-a-reverse-proxy/459/2 "2019-10-17T18:44:50Z")

</div>

I think the problem you’re hitting is related to the path `user/streamlit`. Right now Streamlit apps need to be at `/`.

And we are working on a fix _right this moment_, actually: [https://github.com/streamlit/streamlit/issues/225](https://github.com/streamlit/streamlit/issues/225)

Please follow in the issue above!

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [November 19, 2021, 5:22pm UTC](https://discuss.streamlit.io/t/using-streamlit-behind-a-reverse-proxy/459/3 "2021-11-19T17:22:30Z")

</div>


