Closed reinethernal closed 1 year ago
In the file /etc/default/openhab2 set the line OPENHAB_HTTP_ADDRESS=127.0.0.1 assuming your reverse proxy is on the same server as openHAB.
I believe that is mentioned in the community forum.
See https://www.openhab.org/docs/installation/security.html#authentication-and-access-control. This describes how to disable binding to all interfaces, which is what you need to do.
Made all steps described here, but openhab still accessible by typing externalip:8080 or my.openhab2server.com:8080