Skip to content

Reverse Proxy view that supports all HTTP methods, Diazo transformations and Single Sign-On.

License

Notifications You must be signed in to change notification settings

jazzband/django-revproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

72e1d4d · Feb 22, 2025
Feb 21, 2025
Nov 5, 2024
Nov 5, 2024
Feb 22, 2025
Nov 5, 2024
Nov 7, 2022
Feb 23, 2023
Feb 21, 2025
Nov 26, 2023
Feb 8, 2022
Nov 5, 2024
Nov 15, 2021
Feb 10, 2022
Aug 15, 2013
Oct 29, 2013
Jul 10, 2023
Oct 29, 2014
Nov 13, 2022
Oct 16, 2023
Oct 16, 2023
Oct 16, 2023

Welcome to django-revproxy

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 REMOTE_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

About

Reverse Proxy view that supports all HTTP methods, Diazo transformations and Single Sign-On.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published