How to redirect non anonymous proxy traffic?

I know it’s something with HTTP_X_FORWARDED directive but not sure how
to make it work.
I need detection of it and then redirect to set URL.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs