Knowledge Base
Creating a reverse proxy for PingPlotter’s Web UI
Question
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?
Solution
Caddy
By default, Caddy automatically obtains and renews TLS certificates for all your sites. It serves all configured sites over HTTPS.
Download Caddy from their website and install it following their official documentation.
Create a file called "Caddyfile" (no extension) in the same directory where Caddy is installed with the following configuration:
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.
If this configuration does not work for your situation, the following configuration also achieves a working reverse proxy:
server {
Additional resources:
- https://github.com/SteveLTN/https-portal/issues/233
- https://github.com/IdentityServer/IdentityServer4/issues/324
- http://www.martinchung.com/2017/06/configuring-nginx-to-reverse-proxy-net-core-on-mac/