Skip to main content

Yet another Django reverse proxy application.

Project description

https://travis-ci.org/TracyWebTech/django-revproxy.svg?branch=master https://coveralls.io/repos/TracyWebTech/django-revproxy/badge.svg https://landscape.io/github/TracyWebTech/django-revproxy/master/landscape.svg?style=flat

A simple reverse proxy using Django. It allows to use Django as a reverse Proxy to HTTP requets. It also allows to use Django as an authentication Proxy.

Documentation available at http://django-revproxy.readthedocs.org/

Features

  • Proxies all HTTP methods: HEAD, GET, POST, PUT, DELETE, OPTIONS, TRACE, CONNECT and PATCH

  • Copy all http headers sent from the client to the proxied server

  • Copy all http headers sent from the proxied server to the client (except hop-by-hop)

  • Basic URL rewrite

  • Sets the http header REQUEST_USER if the user is logged in Django

  • Handles redirects

  • Few external dependencies

  • Apply XSLT transformation in the response (requires Diazo)

Dependencies

  • django >= 1.6

  • urllib3 == 1.10.1

  • diazo >= 1.0.1 (optional)

Install

pip install django-revproxy

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page