February 2014

Using Drupal behind a reverse-proxy

Roman Zimmermann's picture
Roman Zimmermann

As the title suggests we have Drupal hosted behind a reverse proxy. Usually this doesn't matter a lot, but there are few things like IP-blocking or oauth that need to know some data about original request. Namely that's: The client-IP, whether the request was issued via HTTPS and the server port. Here is how to achieve that.