# Using NGINX Reverse Proxy (Authentication and HTTPS)

**URL:** <https://community.openhab.org/t/using-nginx-reverse-proxy-authentication-and-https/14542>\
**Category:** Tutorials & Examples\
**Tags:** authentication, openhab2, nginx\
**Created:** [September 27, 2016, 1:40pm UTC](https://community.openhab.org/t/using-nginx-reverse-proxy-authentication-and-https/14542 "2016-09-27T13:40:22Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![globramma](https://community.openhab.org/letter_avatar_proxy/v4/letter/g/e9c0ed/32.png) [@globramma](https://community.openhab.org/u/globramma)\
**Post date:** [January 18, 2017, 11:21am UTC](https://community.openhab.org/t/using-nginx-reverse-proxy-authentication-and-https/14542/33 "2017-01-18T11:21:30Z")

</div>

I reviewed your updated docs & noted the new section on controlling access by IP address. I tried adding the “satisfy any;” line above my IP allow/deny blocks (see other post here,) but with no effect.

I emphasize that when I access sitemaps NOT selected by the special location ~ { } regexp, I have no problems with access at all. Nginx & OH, & my OH tablet clients work fine together.

There is only a problem when trying to access a specific sitemap that I wish to block access to for _certain_ IP addresses on the LAN, while allowing other IPs access. As mentioned [in my other post, I know my regexp & allow/deny rules are working fine,](https://community.openhab.org/t/hiding-a-sitemap-from-non-system-admin-users-oh-1-x/20434/4) because I _do_ get proper “access forbidden by rule…” messages in the error log, for the denied IP addresses.

The trouble is when a _permitted_ IP address tries to access the location ~ regexp { } item, it spits back back the “no such file or directory” message.

With appreciation for your time.

---

_[View the full topic](https://community.openhab.org/t/using-nginx-reverse-proxy-authentication-and-https/14542)._
