Skip to main content

Yet another Django reverse proxy application.

Project description

Jazzband PyPI version Supported Python versions GitHub Actions Test Coverage

A simple reverse proxy using Django. It allows to use Django as a reverse Proxy to HTTP requests. 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

  • Sets the http headers X-Forwarded-For and X-Forwarded-Proto

  • Handles redirects

  • Few external dependencies

  • Apply XSLT transformation in the response (requires Diazo)

Dependencies

  • django >= 3.0

  • urllib3 >= 1.12

  • diazo >= 1.0.5 (optional)

  • lxml >= 3.4, < 3.5 (optional, but diazo dependency)

Install

pip install django-revproxy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_revproxy-0.11.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file django_revproxy-0.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_revproxy-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad4bc652ab79f67d2217756cf9e933d19628ca5c0d783b2c3c422b6f5d53c1c6
MD5 6e8fee90230b191b8cdbae9f1e7a0d4c
BLAKE2b-256 4efe2896aa53ba7389595a4c009a02eef191d603f55ace43a4fce4cdf5f61c2d

See more details on using hashes here.

Provenance

Supported by

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