How to run reverse proxy on GL inet routers?

That's going to require the use of a proper reverse proxy daemon. HAProxy should be in the default GL.iNet repos... if not it should be. You're going to probably need LuCI &/or ssh to set it up. It's going to be some amount of effort, I'm sure. Better make a backup of your current conf: