Closed blaix closed 9 years ago
bumping that coverage one baby step at a time...
This looks good. I think this should also be added to the default middleware list: https://github.com/thomasw/djproxy/blob/master/djproxy/views.py#L24-L28
It already sends X-Forwarded-Host by default.
added
:bell:
This helps the proxied service know if a request is secure even if there's an http/https mismatch up/downstream.
Related: https://docs.djangoproject.com/en/1.6/ref/settings/#secure-proxy-ssl-header