Hardware: Raspberry Pi 4 Model B Rev 1.2Release
OS: Raspbian GNU/Linux 10 (buster), Kernel = Linux 4.19.97-v7l+
Java Runtime Environment: openjdk version “1.8.0_252”
openHAB version: openHAB 2.5.5-1 (Release Build)
Background: I am planning to install OH in my home network that already has multiple other servers. I have a separate system running an Nginx proxy behind my internet gateway (Unifi USG) to forward HTTP/HTTPS requests to the systems (services) on my home LAN. I have spent the last couple days digging though the OH documentation and community posts to understand if its possible to use my existing proxy to “front-end” OH on my network. At this point I am looking for some help confirming my assumptions and answering a few outstanding questions I have.
Assumption. The Openhabian-config tool has an option to set up an Nginx reverse proxy, but it assumes my OH server will be listening on port 80 and/or 443 facing the Internet. This wont work for my environment since I already have an Nginx proxy listening on these ports. Is that a correct assumption?
Assumption. I don’t have any experience with Jetty web services/servers, can I assume that I can simply use a proxy_pass statement in the virtual host I define for OH that references the OH servers internal IP address on port 8080? Are there any Nginx proxy parameters specific to this I need to include. I seem to be using all of the ones I see referenced in the posts…
Question. I have not been able to find any posts or examples where the standard setup is configured to use private certs. Did I miss something that should be obvious?
Thanks in advance and I would greatly appreciate any advice the Community can provide on this topic.