# \[OH3\] Reverse proxy to subdirectory

**URL:** <https://community.openhab.org/t/oh3-reverse-proxy-to-subdirectory/114610>\
**Category:** Installation\
**Created:** [January 18, 2021, 11:16am UTC](https://community.openhab.org/t/oh3-reverse-proxy-to-subdirectory/114610 "2021-01-18T11:16:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![billfor](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/ce73a5/32.png) [@billfor](https://community.openhab.org/u/billfor)\
**Post date:** [February 1, 2021, 4:21am UTC](https://community.openhab.org/t/oh3-reverse-proxy-to-subdirectory/114610/5 "2021-02-01T04:21:19Z")

</div>

Read this post, for basicUI and the REST API in OH3.  
It works fine for me. I don’t need the mainUI at this point though, so you might have to do some additional tweaking.

> [@Openhab on Tesla Browser](https://community.openhab.org/t/openhab-on-tesla-browser/108346/2):
>
> OK I guess not slight_smile Here’s my working nginx configuration making openhab available at [https://yourdomain/openhab-tesla](https://yourdomain/openhab-tesla) via VouchProxy, while retaining BasicAuth at [https://yourdomain/openhab](https://yourdomain/openhab). This way I can use it in my car, and still keep the ios/android apps working. If anyone improves upon it or has an easier way, it would be great to know, especially if something in openhab3 obviates this. [vouch-openhab.txt](https://community.openhab.org/uploads/short-url/pADUWwlKFwpvTVMgWOWcp4hEaCa.txt) (6.8 KB)

---

_[View the full topic](https://community.openhab.org/t/oh3-reverse-proxy-to-subdirectory/114610)._
