Force ssl redirect on reverse proxy?

When I add this line to any sites vhost config I get “too many redirects”, strange because if I visit the site via https it comes up perfectly with SSL secured.
It’s a little ambiguous in the documentation so would be good to see how others have tackled this?