Unable to start the WebRTC system video streaming - reverse proxy

I’ve read other topics on this but I think I have a unique case. I’m running my astrobox on a raspberry pi 2 model B with a raspicam.

I’m running it behind a reverse proxy. This is where the issue comes in.

If I’m on the local network and browse to the local IP of the astrobox, I am able to stream video.
However, when I try to start streaming remotely using the reverse proxy I get the “Unable to start the WebRTC system video streaming” error.

I am using IIS to do the reverse proxy, and its just rewriting remoteIP:9021 => localIP:80

I am also able to stream video if I go to astroprint.com. Why doesn’t video work behind a reverse proxy?

I see that its trying to connect to another port when starting the video stream. Port 8088. I tried also adding that port to the reverse proxy to no avail.