# Basic HTTP(S) Authentication for OpenHab 2

**URL:** <https://community.openhab.org/t/basic-http-s-authentication-for-openhab-2/15244>\
**Category:** Tutorials & Examples\
**Tags:** security, apache2.4, reverse\_proxy\
**Created:** [October 13, 2016, 8:42pm UTC](https://community.openhab.org/t/basic-http-s-authentication-for-openhab-2/15244 "2016-10-13T20:42:13Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Dim](https://community.openhab.org/user_avatar/community.openhab.org/dim/32/4568_2.png) [@Dim](https://community.openhab.org/u/Dim)\
**Post date:** [May 10, 2017, 7:30pm UTC](https://community.openhab.org/t/basic-http-s-authentication-for-openhab-2/15244/15 "2017-05-10T19:30:45Z")

</div>

> [@alabamatoy](#):
>
> I would need to have a [https://servername/oh2](https://servername/oh2) or something similar for openhab. Can this be done?

Edit: It’s more complex that I originally thought…  
You could do it but it requires more advanced configuration. See here: [Using NGINX Reverse Proxy (Authentication and HTTPS) - #37 by nlmarco](https://community.openhab.org/t/using-nginx-reverse-proxy-authentication-and-https/14542/37) & [Apache2 reverse-proxy with LDAP-authentication, HTTPS and URL-path-prefix](https://community.openhab.org/t/apache2-reverse-proxy-with-ldap-authentication-https-and-url-path-prefix/25867)

---

_[View the full topic](https://community.openhab.org/t/basic-http-s-authentication-for-openhab-2/15244)._
