Attempting to use Caddy as a reverse proxy to Tomcat. The vendor, Jamf, does not officially support a reverse proxy in front of their Jamf Software Server, but I’d really prefer it to letting Tomcat handle SSL connections.
Anyway, here is my Caddy file. Very basic for now just to troubleshoot.
http:// {
root /var/www
proxy / localhost:8080
}
So far, the reverse proxy works. I open the website on port 80 and I’m greeted with the Jamf Software Server login page running on Tomcat on the backend.
Here’s the problem. When I log into the system, there is a graphical real-time Memory Usage pie chart. Opening this pie chart while over port 8080 works fine. However, opening it over port 80 fails. It just doesn’t display anything. Here is the error from the Chrome browser’s console:
TypeError: result is null
I tried adding the transparent subdirective to the proxy directive, but that didn’t seem to do anything. If more information is needed, please let me know. Still tinkering with the settings myself.