There's a short description in the example config-dist.php file:
// Enable when setting up advanced reverse proxy load balancing configurations,
// it may be also necessary to enable this when using port forwarding.
// $CFG->reverseproxy = true;
Beyond that the reverse proxy documentation appears to need work, as Visvanath says it's very old.