Creating a reverse proxy for PingPlotter’s Web UI
I've been running the PingPlotter Web UI, and I am hoping to set up access via a reverse proxy. How can I do this?
PingPlotter Professional's features will be adjusted for new purchasers starting July 1st, 2021. Learn more.
PingPlotter doesn't currently have an officially-supported way to set up a reverse proxy for the new web UI introduced in version 5.18. However, we do have a solution we have been using in-house which employs a reverse proxy using NGINX.
Begin by downloading NGINX and configuring it as normal. Within the default nginx.conf file, use the following code. You should replace 'localhost' and the listen port (9999) with whatever values you need.
The last three lines in this configuration technically are not necessary. However, without them, PingPlotter will communicate using long-polling rather than WebSockets, which dramatically slows down the responsiveness of the web UI.
If this configuration does not work for your situation, the following configuration also achieves a working reverse proxy that uses WebSockets:
If you're looking to set up the Web UI with HTTPS and are running Windows (macOS coming at a later date), we have an excellent resource for that in the PingPlotter manual.